132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kipslem

Hello, My sincere apology, I have been posting almost 4 questions now where I have received 2 answers being solved. These are simple questions which any one familar with VB.Net can solve easily. Please understand, I'm a newbie to VB.Net. Now my next issue is; I have a a form …

Software Development microsoft microsoft-access vb.net
Member Avatar for Reverend Jim
0
3K
Member Avatar for roshan.parate.73

WAP to print the sum of all the PRIME or EVEN integers in the array and ignore the remaining.

Software Development c
Member Avatar for L7Sqr
0
778
Member Avatar for mcoliver88

Hi Guys I need to create an SQL database for my work, and use visual c# to build the application. I work for a college and we have just opened up an IT support shop that is run by the students. They need a database created, but I am unsure …

Software Development sql
Member Avatar for Ketsuekiame
0
204
Member Avatar for elianeasmar

Hello. How can i know the data source of my sql 2008? Dim strconnection As String = "Data Source=.............;Initial Catalog=DatabaseConnection;Integrated Security=True;" How am i suppose to know the the data source? i it my computer name?

Software Development vb.net
Member Avatar for ryanjayson
0
300
Member Avatar for jared.geli

Hi guys. I'm having problems in updating records in Excel. Whenever I update a cell the value I input it goes 4 cells above the intended cell and I know the reason. In my Select query: `SELECT * FROM [Sheet1$A5:R1048576] where [ITEM CODE] is not null` Meaning I skipped reading …

Software Development dataset open-source vb.net
Member Avatar for jared.geli
0
228
Member Avatar for princessophia

I am supposed to write a program that displays the first 10 lines of a file. I have a file named "characters.txt" in the same folder that my .cpp is saved in, but when I try to compile the program, it says the file cannot be found. Here is my …

Software Development c++ file-system
Member Avatar for ling_tj
0
329
Member Avatar for Tapan1

[CODE] try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl", "scott", "tiger"); if (con == null) System.out.println("Connection not successful"); else System.out.print("successful...."); con.close(); } catch (Exception e) { e.printStackTrace(); } [/CODE] Error: [CODE] java.sql.SQLException: The Network Adapter could not establish the connection at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) at …

Software Development java oracle sql windows-vista
Member Avatar for stultuske
0
985
Member Avatar for elie.karkafy

how i can design an appilcation in visual basic 2010 , the same as the attached picutre using control boxes , thanks for any help

Software Development first-post vb.net visual-basic
Member Avatar for ryanjayson
0
138
Member Avatar for ArnoldRich

Which compiler must I use to create ?: 1. Bare metal utilities. 2. My Operating System.

Software Development c operating-system
Member Avatar for ArnoldRich
0
179
Member Avatar for mixelplik

I'm trying to get a better understanding of ifstream, and was playing with it using the program below. It's purpose was to grab the first and last entries in the file, instead I get some perplexing output leading me to realize I've very little clue as to how streams really …

Software Development c++
Member Avatar for mixelplik
0
1K
Member Avatar for dr_iton

I created a three layer windows based application. I'm trying to make a unit testing using NUINT, but the problem is that I don't know how to access the method. I created my application in this manner : I'll try to test the method Shto(Klasa obj) Business Object namespace "BO" …

Software Development
Member Avatar for darkagn
0
216
Member Avatar for Patrick_3

Hello everyone, I am making a custom control which inherits the standard windows Panel object. My control has the ability to align all of the controls in the panel to the left by their index in the Controls array. I am trying to add a method which swaps the location …

Software Development vb.net
Member Avatar for Patrick_3
0
705
Member Avatar for chophouse

Using Python 3.3.0 and this script: from ftplib import FTP_TLS ftps = FTP_TLS('xxx.xx.xxx.xx') ftps.sendcmd('USER myuname') ftps.sendcmd('PASS mypwd') ftps.prot_p() ftps.retrlines('LIST') ftps.quit() I get a connection failure due to timeout >>> ================================ RESTART ================================ >>> Traceback (most recent call last): File "C:\Python33\fixFTP.py", line 2, in <module> ftps = FTP_TLS('xxx.xx.xxx.xx') File "C:\Python33\lib\ftplib.py", line …

Software Development python
Member Avatar for Gribouillis
0
2K
Member Avatar for mixelplik

I see a lot of people list code using this "::" as in: #include <iostream> int main() { std::cout << "Blah, blah, blah"; return 0; } and others use "using" #include <iostream> using namespace std; int main() { cout << "Blah, blah, blah"; return 0; } Is there a downside …

Software Development c++
Member Avatar for mixelplik
0
280
Member Avatar for MacErich

Dear all Can anyone explain to me how a (local) counter can be modified in a loop without being touched in the code? ... and how I am best to debug this? Thanks Erich void test(double *x, int l, int N, int K, double *p, Comp * y) { int …

Software Development c++
Member Avatar for MacErich
0
198
Member Avatar for Pja

Hi, can anyone help me. I've trying to display existing word document in vb.net but i keep getting this error: D:\System-new\DLIMS\PSM2\FormUserGuideWord.vb(58): Type 'COMExceptionMessageBox.Show' is not defined. I have add reference (Microsoft word 11.0 because im using ms word 2003) to my project but i still cannot display the word document. …

Software Development display microsoft-office vb.net
Member Avatar for Reverend Jim
0
2K
Member Avatar for Annettest

Hello all: I have written a function that gets data (numbers) from a text file. My function works by taking a line from the text file, discarding unnecessary symbols, and putting the numbers into a vector. Here's a snippet: // Get data from text file. Values then put into one …

Software Development apple c c# c++ file-system
Member Avatar for haider885
0
395
Member Avatar for girmanigatu

what is C++ mean? and what is the purpose of it?

Software Development c c# c++
Member Avatar for Slavi
0
139
Member Avatar for xchris

Hello I'm new to programming and I'm trying to make a java application that will "hear" (not record necessarily) the sound and display how loud is.I'm thinking of converting the sound recordings to numbers,so I can see the difference on the sound levels.I got this code and I added the …

Software Development audio java
Member Avatar for xchris
0
1K
Member Avatar for hawkz86

Hi I am a fresher to VB and now stuck with a code for my project. Project Description : I have a .xlsx Excel File which has two Coulmns "Key" and "Summary", I have populated combobox on the form using DataSet as shown below : Dim dt As New System.Data.DataTable() …

Software Development dataset visual-basic
Member Avatar for hawkz86
0
857
Member Avatar for dilansankalpa

I am currently doing a project and am a novice to c#. I have a problem where i receive serial 'dataframes', each consisting of two 8-bit values (the high byte and the low byte), which have to be constructed to get a 16-bit value. This assembled value is already in …

Software Development c#
Member Avatar for RazaBukhariShah
0
6K
Member Avatar for tatacco

Below is the code I am using: Dim safe10_comp As Integer Dim ref_date As Date Dim dr As DataRow Dim dt As DataTable = New DataTable() Dim da As OleDb.OleDbDataAdapter = New OleDbDataAdapter() Dim Conn As OleDbConnection = New OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString2").ConnectionString) Dim sql As String = "with a as (select t.employee_number, …

Software Development sql vb.net
Member Avatar for G_Waddell
0
217
Member Avatar for </scorpion>

i want to do are the ff: * Loop through the Rows in the Datatable using Foreach or For * Compare every row data with the textbox value. * Once the value is matched or exists then break the loop & view a message. . and i want view message …

Software Development
Member Avatar for Mike Askew
0
1K
Member Avatar for deepakps

this is a small graphical program in c....which gives you a clear discription about what a graphics can do in c..(a simple one)

Software Development c
Member Avatar for Deepak_17
0
176
Member Avatar for grarhakim

Hello gayz, i have a written a screen saver App in C# & WPF, everything is done, the only thing is to exit the screen saver when the mouse move event get fired. if i write: private void Window_MouseMove(object sender, MouseEventargs e) { this.Close(); } the screen saver doesn't starts …

Software Development asp.net pc-peripheral
Member Avatar for grarhakim
0
406
Member Avatar for michelle.trinsky

Hi, I'm relatively new to C++. I'm trying to search for a double quote and replace it with 2 double quotes ( for CSV format conversion). The code compiles and works fine when Quote is any string. But it freezes when I try to search for a "\"". Help appreciated. …

Software Development c++ seo
Member Avatar for mrnutty
0
4K
Member Avatar for mythos061

I am having trouble understanding an external sort. I have to code up an implementation for the following below. I have to sort 120 records(they are really just integers), and have a memory restriction of 20 records. So I will have 6 blocks. Let me know if this is right: …

Software Development algorithm c++
Member Avatar for tinstaafl
0
287
Member Avatar for dp121307

I started using C++ after learning Python, so I'm very very new to this. I'm writing a program and have 2 files in the project. I have my list.h class and my program. The list.h class, despite the fact that its a given class and should work, is ridled with …

Software Development c++
Member Avatar for Ancient Dragon
0
300
Member Avatar for lrhimma

hi guys, I got another issue doin my project. Im using Microsoft access as Database. When i need to UPDATE it work and the msgbox displayed: "thank you", but when i looked into the database nothing happened. Anyone can help me to determine the problem? please Thanks in advance. con.Open() …

Software Development microsoft-access vb.net
Member Avatar for kRod
0
161
Member Avatar for Jiggle

I was wondering about something: LazyFoo, the author of some amazing SDL tutorials has put copyright on his source code. Does this prevent people from writing functions that are largely, if not entirely similar to his? For example, his 'load_image' function used in a lot of the tutorials is extremely …

Software Development c++
Member Avatar for Gabriel_2
0
335
Member Avatar for nel gomez

Good day, Just want to ask some help, Please! I always encounter "Cannot find Table 0" when i call Stored Procedure in DB2 using VB .Net with Ole DBConnection Provider. Here is my code: Private Sub cmdPost_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPost.Click rsSearch = clsDAOMngr.getConfigParam(2) For …

Software Development asp.net vb.net visual-basic
Member Avatar for Begginnerdev
0
591
Member Avatar for jeenalp

Hi friends,anyone wanted to know the c# swap numbers programs in simple way can go through this //C# program to enter two number and swap the number using System; class Program static void Main(string[] args) { int a, b, temp; Console.Write("Enter a value : "); a = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter b …

Software Development c#
Member Avatar for Mike Askew
0
335
Member Avatar for centenond

hey guys ! so im learning c, got a question: so say i have a struct of students and inside the struct is name , id , fatherName, motherName. like this struct stds { int id; char name[21]; char fatherName[21]; char motherName[21]; } std[100]; suppose they are 100 stds and …

Software Development c
Member Avatar for centenond
0
191
Member Avatar for sam wage

I have attached one code of my project and i need a help in that. The code is running without any error but i am stuck up in modifying that how to make a statement, of invalid format of date or time if the user enters the wrong format should …

Software Development
Member Avatar for Fenrir()
0
213
Member Avatar for Learner010

How to create two circle shape (circle shapes will work as token for 2 players ) in snake and ladder game. I can’t see any control for that ? Here is what I’ve done and what I want : I ve created 100 labels and set their `Text` property 1…..100 …

Software Development vb.net
Member Avatar for Minimalist
0
574
Member Avatar for mariners95

I need help with transposing a matrix. I already did the transpose matrix using 2 arrays. But I can't figure out how to do it using only one array. So read a matrix and create the transpose within itself. Do I use the swap or what? Any help would be …

Software Development c
Member Avatar for johnnew
0
400
Member Avatar for quitare

accept a number and display if it an odd or even number.???

Software Development c c# c++
Member Avatar for Learner010
0
130
Member Avatar for bouldermash

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Query As String Query = "INSERT INTO visitor(vid_pass,vname,address,contact_num,status,purpose)VALUES(" + vid_pass.Text + ",'" + vname.Text + "','" + address.Text + "'," + contact.Text + ",'" + TextBox5.Text + "','" + purpose.Text + "');" Query = "INSERT INTO building_transaction(bname)VALUES('" …

Software Development vb.net
Member Avatar for ryanjayson
0
169
Member Avatar for dre-logics

I have a simple question, I have the following menu. Main Menu Sub Menu 1 Sub menu 2 Sub menu 3 Sub sub menu 3.1 Sub sub menu 3.2 Sub sub menu 3.3 I would like to direct if the Form load that "Sub sub menu 3.3" is selected. Is …

Software Development vb.net
Member Avatar for ryanjayson
0
255
Member Avatar for sixtorodriguez

So, I have attached my code below. It worked fine , until I introduced the part to print out what's in the input file. After I did this, it says it's completed, but I doesn't copy the content in the output file. What should I change? Thanks a lot /*Program …

Software Development c encryption
Member Avatar for sixtorodriguez
0
323
Member Avatar for electrodelic

**hello peeps and geeks, i am missing the MinSpanningTree function here.. any help please? need to fill up the function to get a) Minimum spanning tree cost for the graph b)Spanning tree path for the graph. E.g in matrix or adjancency list. ** #include <iostream> #include <ctime> // For time() …

Member Avatar for Mouche
0
312
Member Avatar for belladiluna

Help me please! Need c# code... import numpy from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt def zadachaOPrepyatstvii(h, f, fi, xi, sigma, epsilon=0.0000001): m = int(1/h) h2 = h * h u = numpy.zeros(shape=(m+1, m+1)) gamma = numpy.zeros(shape=(m+1, m+1)) prevnormr = …

Software Development c# python
Member Avatar for vegaseat
0
5K
Member Avatar for marin_10

Hi guys, I have question about python. I mean I need a litle help. How can I increase date from date given in file by start after midnight? File looks like: PROGRAMSKA SHEMA ZA PETAK, 13.12.2013. 06:00 ZMBT televoting 06:05 Madhubala, igrana serija, 138. epizoda, r. 06:50 Tajne, igrana serija, …

Software Development python regex
Member Avatar for vegaseat
0
265
Member Avatar for aslam.junaid786

package abc; import java.util.*; public class TransformCharacters { public static String changeCharacters(String string) { for (int i = 0; i < string.length(); i++) { char ch = string.charAt(i); { if (Character.isUpperCase(ch)) string.replace(ch, '1'); } } return string; } public static void main(String[] args) { // TODO Auto-generated method stub String …

Software Development
Member Avatar for ObSys
0
204
Member Avatar for Pratique
Member Avatar for ddanbe
0
106
Member Avatar for idiotguy

Hi Friends, (i) I'm very new to python.so i wanna know which version of python is suitable for me.I have [I][B]python 2[/B][/I] and [I][B]python 3[/B][/I] in my choices..which one is best for me??? (ii)Also give me the list of GUI toolkits for respective versions.. (iii)which version has the best library …

Software Development gui python
Member Avatar for Tcll
0
716
Member Avatar for hochspeyer

All I want to do is install Python on a Windows 8.1 box. The "EXTREMELY HELPFUL" note in the reademe says goto "PCbuild". Where is this wonderous file? Bueller? I searched from the very TOP of the Python directory, and as soon as the "C" was entered, I got a …

Software Development python
Member Avatar for hochspeyer
0
129
Member Avatar for Helpmeplease123

How do you add a membership records in java(bluej) First Name, Last Name, phone number. Please can you help me

Software Development java
Member Avatar for ObSys
0
259
Member Avatar for elianeasmar

Hello. I meed some help with this. I am trying to delete a record from database(SQL Server) Am i missing something? Private Sub cmdDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDelete.Click _DataSet.Tables(0).Rows(CInt(txtCurrent.Text) - 1).Delete() ' tho, it can remove the deleted rows ' we cannot call the DataSet.AcceptChanges …

Software Development dataset sql vb.net
Member Avatar for Begginnerdev
0
1K
Member Avatar for migu2990

Hi, I was asked to make a Phone Book thats saves entries and call them up. Then the teacher added a new task. The Program should delete entries. He gave us a methode and said we are not allowed to use ArrayList or Hashmaps, ONLY Arrays. I tried alot but …

Software Development java java-swing
Member Avatar for migu2990
0
409

The End.