132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for breealu

[CODE]Option Explicit Dim RsSearch As New Recordset Dim inv As ListItem Public Function SearchFucn(SQLString As String, combovalue As String) Set RsSearch = Nothing If DataEnvironment1.Connection1.State = adStateClosed Then DataEnvironment1.Connection1.Open If RsSearch.State <> adStateClosed Then RsSearch.Close With RsSearch .ActiveConnection = DataEnvironment1.Connection1 .Open SQLString End With If RsSearch.RecordCount = 0 Then MsgBox …

Software Development visual-basic
Member Avatar for AndreRet
0
201
Member Avatar for Simran Kaur

Hello Friends, I am converting VB 6 code to VB.Net in VS 2010, Framework 4. I am unable to find equivalent code in VB.Net for ListBox1.Items.Add(New VB6.ListBoxItem("Sam",0)) Error Message: "'Microsoft.VisualBasic.Compatibility.VB6.ListBoxItem' is obsolete". I tried "ListBox1.Items.Add(New ListItem("Sam",0))" but it is not working though I added "Imports System.Windows.Forms.ListViewItem". and VB6.Format() Error Message: …

Software Development vb.net visual-basic
Member Avatar for codeorder
0
395
Member Avatar for acrocephalus

Hello! I have created a dialog to select a file with wxpython and FileBrowseButton with this code. [CODE]fbb = wxfbb.FileBrowseButton(panel,labelText="Select an image file:", fileMask=mask, fileMode=wx.OPEN, size=(800,30)) markFile = fbb.GetValue()[/CODE] I need to use the selected file for further actions. How can I do it? I have tried [CODE]return markFile[/CODE] but …

Software Development python
Member Avatar for acrocephalus
0
595
Member Avatar for merlin1106

This is the assignment: Write the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage and the user's selection from a menu of available mortgage loans: - 7 years at 5.35% - …

Software Development java java-swing user-interface
Member Avatar for jon.kiparsky
0
407
Member Avatar for gallantlex

Firstly, Here's my code running in VS 2010. [code=c] #include <iostream> #include <fstream> #include <string> #include <list> using namespace std; class Student { friend ostream& operator<<(ostream&, Student); friend istream& operator>> (istream&, Student&); private: int stuId; string name; int gpa; public: Student(int, string, int); int getStudId(); }; ostream& operator<<(ostream& out, Student …

Software Development c ios
Member Avatar for gallantlex
0
184
Member Avatar for Uros Bregar

Hi I am trying to create and start an animation in code instead of using xaml. When I use the Storyboard object(second example) nothing happens(There are no visible results of the animation), if I set animation's properties and start it without using the Storyboard object everything works normaly(first example). Below …

Software Development
Member Avatar for Stuporman
0
254
Member Avatar for ramesh.goli

Hi, Can cany one explain me virtual table architecture & functionality internally?

Software Development c++
Member Avatar for Frederick2
0
47
Member Avatar for cgcgames

I am Working on Conecting to a database in windos forms C++. I use MVC++. here is a link to my DB file so people can see what i have tried to do in the DB. [URL="http://www.mediafire.com/?yfr52oqcknakk9g"]http://www.mediafire.com/?yfr52oqcknakk9g[/URL] you need access to see this. i have finaly figured out how to …

Software Development c++ dataset microsoft-access
Member Avatar for cgcgames
0
201
Member Avatar for ITStrawberry

Guys i have a main form. When this one is loaded it first has to show another form. So there opens a new form and the main form is hided. How can I do this?

Software Development
Member Avatar for Geekitygeek
0
88
Member Avatar for Saima_Khan

HI i am trying to make screen saver in vb.net i m using picturebox and timer (for separation of time), but i cannot attach multiple pictuers in a single picturebox. can anyone help me ? Thankx

Software Development vb.net
Member Avatar for codeorder
0
737
Member Avatar for amithlaxman

Hi, I am a newbie to a perl. I have a problem in getting old and new contents of file. The file is like this: [code] StartTimeStamp,EndTimeStamp,counter1,counter2 Aug15 2010 22:45:43,Aug15 2010 23:00:00,6,0 Aug15 2010 23:00:00,Aug15 2010 23:07:43,3,0 [/code] The output should be: [code] Aug15 2010 23:00:00,Aug15 2010 23:07:43,3,0 [/code] After …

Software Development file-system perl
Member Avatar for d5e5
0
141
Member Avatar for kplcjl

I don’t have a problem, but sometimes I just love the way this system works. I got the message {"Cannot convert object of type 'System.Int64' to object of type 'System.Data.SqlTypes.SqlInt32'."} {System.Data.DataException} This was the command System.Data.DataRow dr_Test0 = this.XML_DataSet.Tables[0].NewRow(); I also love how they obfuscate code. Finding the designer code: …

Software Development dataset
Member Avatar for Momerath
0
141
Member Avatar for Nitu Khanna

Dear All, I am new to hibernate. Please help me out in solving the following error: [Fatal Error] :5:2: The markup in the document following the root element must be well-formed. C:\Documents and Settings\Neetu.Khanna\My Documents\NetBeansProjects\HibernateExp\nbproject\build-impl.xml:584: Deployment error: Tomcat configuration file C:\Documents and Settings\Neetu.Khanna\My Documents\NetBeansProjects\HibernateExp\web\META-INF\context.xml seems to be broken. Please make …

Software Development apache api java java-netbeans web-server xml
Member Avatar for JamesCherrill
0
645
Member Avatar for flebber

I am looking at a project that will import and modify an XML file and then export it to a table. Currently a flat file table system should be fine. I want to export the modified data to the table and then perform a handful of maths(largely simple statistical functions) …

Software Development python xml
Member Avatar for Beat_Slayer
0
94
Member Avatar for cptspock

Hello, me again. No VB experience and very little SQL experience. I am trying to upgrade a web site, that connects to a SQL DB to track requests. The SQL DB was originally built in SQL 2000 and I did not create the DB or the web pages. The new …

Software Development sql visual-basic web-browser web-server
Member Avatar for cptspock
0
102
Member Avatar for harikrishna439

How to delete array elements by using it's subscripts in C language?

Software Development c
Member Avatar for Ancient Dragon
0
178
Member Avatar for ftl25

Hi folks, I am writing an application in C, but I have the OOP functionality that C++ provides. (i.e., I can only use C library functions). I have a function as follows in TSL1.cpp: [CODE] void TSL1_ExecuteTest (char *sCmdInt[]) /******************************************************************************* Name: TSL1_ExecuteTest Description: This function executes tests from current TSL1 …

Software Development c++ oop
Member Avatar for ftl25
0
186
Member Avatar for tehmarto

Hello, I wanna write an anticheat for a game. So it seems that the cheat itself is editing the memory (for example movement speed). So what I'm gonna do is make my anticheat tool to scan the memory offset and compare the value in the memory to the normal value …

Software Development c++
Member Avatar for tehmarto
0
239
Member Avatar for steveh000

Hi Guys I wonder if you can help me get my head around this. I am trying to search a String for a sub string but there are not gaps in the original string for example [code] String s1 = "www.google.com/search/" String s2 = "google" [/code] when i attempt to …

Software Development java regex
Member Avatar for steveh000
0
115
Member Avatar for Haxifix

My friend and I were making a pac man console game in C++, and we can't seem to get the AI we wrote for our ghosts to work properly [code] #include <iostream> #include <Windows.h> using namespace std; struct Player { int x, y; Player() { x = -1; y = …

Software Development c++
Member Avatar for Haxifix
0
936
Member Avatar for aliskov

Hello everyone, I'm a high school student highly interested in computer science in general. I've already taken two Computer Science AP classes, both in Java. I took the Computer Science AP exam last year and got a 5 on it, so I'm OK when it comes to Java. Not too …

Software Development c# oop visual-studio
Member Avatar for ddanbe
0
299
Member Avatar for dadam88

if (map[xPos][yPos] == map[xTPos][yTPos]) this works and does what I want it to do. But when I increase the traps. Multiple traps "5" display on the grid but only the last one (assuming) that is created will trigger my if statement. I was trying to add map(i)[xTPos][yTPos] but I'm having …

Software Development c++
Member Avatar for Fbody
0
274
Member Avatar for unexpert

Hello. I'm having a bit of trouble with my programming. I'm giving a signal to my board and it will detect and display the maximum and minimum point of the signal wave. However, I'm not really sure if I wrote my codes correctly. Also, I'm getting this error : "operator …

Software Development c
Member Avatar for Adak
0
151
Member Avatar for pdk123

Hello All, I have the following doubt: Currently both the ipv4/ipv6 headers are such that they donot result in any padding. So it allows us to typecast the input stream to the ipv4/ipv6 header c structures. But don't you feel that this code is error prone ? [CODE]int Comp::getfield(uint8* pInPktStream) …

Software Development c++
Member Avatar for mike_2000_17
0
162
Member Avatar for spach79

Hi guys, I am trying to write a code which will create labels at runtime vertically after selecting a value from a combobox. I am only getting one label created at the starting position. Can you please tell me what the problem is and how can I fix it? Thanks …

Software Development
Member Avatar for hassan12345
0
123
Member Avatar for evolution120

hi guys, im having some problems here.. i coded some visual basic codes on visual studio 2010, now my friend cannot view the in his visual studio 2008.. is there any method that can save it into compatible method, so my friend can view the codes also? thanks in advance..

Software Development vb.net visual-basic visual-studio
Member Avatar for Simran Kaur
0
174
Member Avatar for prem2

Hi , I am having a hashtable which consists of some keys and values.I can able to get the information from the hashtable using iterator or Enumeration. [code] import java.util.*; import java.util.Hashtable.*; import java.util.Iterator.*; import java.util.Enumeration.*; import java.io.*; class ex_hashtable { public static void main(String args[])throws IOException{ Hashtable<Integer,String> hobj=new Hashtable<Integer,String>(); …

Software Development java
Member Avatar for prem2
0
136
Member Avatar for dflatt

I seem to be having a few problems with pointers at the moment. At the moment I have a char pointer as a parameter in one class. The function is being used in another class and is being used to get an input file. [CODE] ClassA* CAptr = new ClassA; …

Software Development c++
Member Avatar for dflatt
0
121
Member Avatar for mabshell

Hello, I'm having difficulties with a problem. I made a binary tree with 2 child coming from one parent but now they ask me to create another child meaning, the parent has 3 child. I can manage to create the third child only in the first parent, after that the …

Software Development
Member Avatar for ddanbe
0
92
Member Avatar for sana_moi

hellow!! i mworking in c++ managed on vsual studio c++ 2010 express edition but when i get the text from a text zone and use it in an other traitement it's gve me tis error: de 'System::String ^' en 'System::String ^[256]' nd there is my code: private: System::Void BGENER_Click(System::Object^ sender, …

Software Development c++
Member Avatar for sana_moi
0
172
Member Avatar for LevyDee

Hi, I am trying to set it up so that when the user wants to, he can add an Icon image to a ListView. Right now nothing is happening when I try to test it, it compiles fine, but no icons show up. [code] private void radioButton1_CheckedChanged(object sender, EventArgs e) …

Software Development listview
Member Avatar for Geekitygeek
0
111
Member Avatar for raephel

how can i send a directory through a rmi

Software Development java
Member Avatar for raephel
0
73
Member Avatar for anlmember437

I am having problems installing VB 6.0 (Enterprise Edition) in my laptop(Vista) it says "compatibility issues". Can I install VB 6.0 in vista?

Software Development visual-basic windows-vista-7-8
Member Avatar for AndreRet
0
259
Member Avatar for LloydFarrell

Hi All, I have a few dos commands that I would like to run / hardcode into my vb6 application my .bat file starts like this @echo off set drive=e:\Backup\ set backupcmd=xcopy /s /c /d /e /h /i /r /y I am setting the drive location using set drive=e:\Backup\ the …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
544
Member Avatar for tferrier18

Hey Guys, Any help on this would be greatly appreciated. So I've got a list of strings in ListBox1 and I want to remove the last seven characters from each string in the list and write the output to an excel file... Any tips would be greatly appreciated. Thanks in …

Software Development vb.net
Member Avatar for codeorder
0
169
Member Avatar for boiishuvo

I am a new learner of Java. Thq question is "Write a Java program ShowStars.java so that java ShowStars numA1 numB1 .... display a sequence of stars "*", starting from position numA1 and ending at position numB1. If there are further such integer pairs, say, numA2 and numB2, do the …

Software Development java
Member Avatar for javaAddict
0
185
Member Avatar for Megha SR

guys........ can anybody help me in FUNCTRIONS?? i'm not able to understand it. can u show me examples also???????? pls:icon_confused: :cool: pls reply............. thankyou.........:?:

Software Development java
Member Avatar for JamesCherrill
0
98
Member Avatar for Stefano Mtangoo

Hi, Please help me spot where I go wrong. I cannot understand why the error. The Code with error and full error are below. Thanks Error:[COLOR="Red"] loaddll.cpp:6: error: invalid conversion from 'void*' to 'void (*)(wxString)'[/COLOR] lines 5, 6 and 7 [CODE=C++]typedef void (*helloSteve)(wxString);//takes string and Shows it! helloSteve myFunc = …

Software Development c++
Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for VB2008beginner

Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim show As String show = Space(90) & "9x9product" & vbNewLine & vbNewLine For i = 1 To 9 For j = 1 To 9 show &= i & "x" & j & "=" & …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
70
Member Avatar for p@rse

I have a listview with process that are running. my goal is to pass the "path" of the process to a text box when someone clicks on a selection. but my code isnt working correctly, this is what I have: [CODE] Private Sub lvwProcBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As …

Software Development listview vb.net
Member Avatar for GeekByChoiCe
0
154
Member Avatar for madhub2v

i want to know that.. i hava a small java program i.e to caliculate electricity bill(home or commercial). i have compiled and executed it. so now i want to turn this program to a appilcation like caliculator. How?.

Software Development java
Member Avatar for Stefano Mtangoo
0
152
Member Avatar for unexpert

Hello. I'm having a bit of trouble with my programming. I'm giving a signal to my board and it will detect and display the maximum and minimum point of the signal wave. However, I'm not really sure if I wrote my codes correctly. Also, I'm getting this error : "operator …

Software Development c++
Member Avatar for unexpert
0
163
Member Avatar for Nitin Daphale

Hi all, I am executing query for SQL Server 2008 like that , [CODE]myQuery= Insert into Employee(id,name)values(' 99 ' ,' Nitin Daphale ');Insert into Employee(id,name)values('77' ,'XYZ');Insert into Employee(id,name)values(' 88 ' ,'ABC');[/CODE] Here am Inserting 3 Records in an Employee table but the problem is, if any statement fails I can't …

Software Development client-server sql
Member Avatar for Nitin Daphale
0
145
Member Avatar for michdd

I have a question about how to clean up certain thing, or if it's even necessary at all. Say I have a vector of objects. These objects have members that are pointers. When I remove one of these objects from the vector will everything be cleaned up automatically? Or do …

Software Development c++
Member Avatar for mrnutty
0
85
Member Avatar for dadam88

If I use classes, will this reduce my lines of code? Is this a good way? Should I use a header for certain functions? Thanks ( Just wondering, thanks [CODE]/* Ask how many sides a shape has, go to that shape, ask for values to do questions about the shape …

Software Development c++
Member Avatar for dadam88
0
98
Member Avatar for hmarie88

I keep getting these errors when I try to run the program Exception in thread "main" java.lang.NumberFormatException: For input string: "GTR" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at Inventory6.addProductToInventory2(Inventory6.java:549) at Inventory6.main(Inventory6.java:734) I've spent hours trying to figure out what I'm doing wrong and it's due in a few hours. I …

Software Development gui java java-swing
Member Avatar for hmarie88
0
113
Member Avatar for toferdagofer

im trying to figure out how to get the max and min of the values that are entered if i run this program. I want the user to enter in a series of numbers until they were finished and to terminate it to type -99. I'm having quite a few …

Software Development java java-swing
Member Avatar for toferdagofer
0
202
Member Avatar for Tommymac501

Pyscripter seems to be hard coded to use versions 2.3 to 2.6, and skips over 2.7, moving on to 3.0 and 3.1 - niether which seem to play nice with Unix data. Considering 2.7 is Python.org's current stable release, does anyone know how to get Pyscripter to use it? I've …

Software Development ide python unix
Member Avatar for pyscripter
0
416
Member Avatar for darkangel07

a1x1 + b1x2 + c1x3 = d1 a2x1 + b2x2 + c2x3 = d2 a3x1 + b3x2 + c3x3 = d3 create a c++ program that will accept the values for a,b,c,d and determine the values for x1, x2, x3. Display the values for x1, x2, x3... need help now!!!! …

Software Development c++
Member Avatar for tesuji
0
151
Member Avatar for bunifrog

I already have a Please Press Enter to continue... Statement for the end of my list that will allow the list to stay on the screen, be read, then when the user is ready they hit enter and the list continues to the next page. That is part of the …

Software Development java
Member Avatar for bunifrog
0
187

The End.