16,916 Topics

Member Avatar for
Member Avatar for shena

Hi guys, I have a very simple form with 2 textboxes only and a listview to display added record. Upon form load i wanted to sest focus to textbox1, but it shows this error: Run-time error 5:Invalid Procedure call or argument My form load code [CODE]Private Sub Form_Load() bModelMaster = …

Member Avatar for AndreRet
0
3K
Member Avatar for Jarrhed

I'm having a whole lot of difficulty attempting to add data to a multi-column ListView Here's the code for the ListView [CODE]ListView Height="263" Margin="12,29,12,0" Name="Tasks_ListView" VerticalAlignment="Top" ItemsSource="{Binding Source=}"> <ListView.View> <GridView> <GridViewColumn Width="91" DisplayMemberBinding="{Binding CourseName}" Header="Class Name" /> <GridViewColumn Width="275" Header="Assignment Name" DisplayMemberBinding="{Binding AssignmentName}"/> <GridViewColumn Width="110" Header="Due Date" DisplayMemberBinding="{Binding Path=Due_Date}"/> <GridViewColumn …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for lttleastig

I want to send some packets they are in hex format 01 00 00 00 AA 00 00 00 01 because how winsock works i first need to convert it to ascii right? how could i do that every time i try it looses the NULLS - 00 help would …

Member Avatar for lttleastig
0
4K
Member Avatar for abelingaw

Uhm ok. I am near n finishing my project (Payroll System) But im having problems regarding some codes and i am only able to fix some of it My real problem is the saving of picture in the database. Have the code, works well but doesn't save the pic as …

Member Avatar for AndreRet
0
119
Member Avatar for Halbo

I'm well versed in creating a setup file in VB .NET, but am working in the older VB 6.0 on an older project I've been asked to maintain. How can I create a setup file in Visual Studio 6.0? Thanks in advance! Halbo (More than a name; it's ... Dim …

Member Avatar for AndreRet
-1
371
Member Avatar for divakar.it

I am developing a application using VB 6.0. My requirement is if the user log off the application using File->Exit the below action should perform Action1 : The login status should get updated with 0 in the back end table called "Create_Login" so that next time if the user login …

Member Avatar for AndreRet
0
135
Member Avatar for moragmac

Cant get the following program to display the decision in the listbox. Suggestions/corrections????? (visual basic 2005 Express edition) [CODE] Public Class Form1 Dim pupil As Integer Dim number_of_pupils As Integer Dim pupilname(4) As String Dim age(4) As Integer Dim score1(4) As Integer Dim score2(4) As Integer Dim totalscore(4) As Integer …

Member Avatar for AndreRet
0
72
Member Avatar for bob3

I'm just trying to make a cash till and something is wrong because when i try to execute it it just freezes. I think something is wrong with my loop, also i don't know how to refresh my sale total when i click clear order. It clears it but when …

Member Avatar for AndreRet
0
160
Member Avatar for bob3

Hi, Im doing a project in my class where i have to make code. i have to make a spread sheet that will control the sales that are taking place. The cash till has to add up the total cost of the items being bought, take in the input of …

Member Avatar for AndreRet
0
89
Member Avatar for aseem_nick

hi to all! i am a newbie in visual basic programming and have been currently assigned a project for developing a small HUMAN MACHINE INTERFACE. can anybody help me out how to start and how to proceed. i'll be very grateful to all who answered. Thanks

Member Avatar for kamranraj
0
101
Member Avatar for Naveed_786
Member Avatar for MichellePV

Hello, I am working on a combo box, Visual Basic 6.5 on Microsoft Word 2003. When I put in the text for the combo box, it loads fine. I save, close the document. When I re-open the file, everything in the drop box is gone. What am I doing wrong?

Member Avatar for AndreRet
0
109
Member Avatar for Maha Sh.

Hi every one, please could you help me in my project!! I'm trying to design a words game that's give you the first two letters from the word and you insert the rest to make a word (for now I'm just using "co" as example and I have just one …

Member Avatar for Maha Sh.
0
127
Member Avatar for araib

hey guys...!! i really want ur help in this program..!! its a Hospital management system program..!! it take input from the use..it can save input in a file..display all input on to screen, but i cant find a way to delete a record/patient details from the file PLZ help me..!! …

Member Avatar for araib
0
365
Member Avatar for survagya

hi friends, I am visual foxpro programmer with the experience of 22 years in FOXPRO and VFP. I studied ASP.NET and C# from last 2 years myself. As i have started my ASP.NET project, I faced the difficulty in displaying the data into text box before updating. For Example, I …

0
44
Member Avatar for nssltd

Hello, During development of one of my projects i have a tool strip bar when the user clicks a button the tool strip button = a URL of a website. but if the URL is a Google search page the text would be very long and you would only be …

Member Avatar for nssltd
0
131
Member Avatar for indrajeet6

Hi all I've just downloaded the Visual C++ express 2010 from the microsoft website. but when i try to compile and run the program, it says: "Unable to start program 'C:\Documents and settings\Indrajeet Roy\My documents\Visual Studio 2010\Projects\First Prog.c\First prog.c.exe'. The system cannot find the file specified." What do I do …

Member Avatar for indrajeet6
0
447
Member Avatar for shredder2794

Hello all, When you first open a professionally made application a dialog box appears with an "install wizard" that lets the user install the program to a specific destination on the hard drive and among other thing change some settings. How do you make one of these using visual basic …

Member Avatar for Netcode
0
176
Member Avatar for shredder2794

Hello all, In lots of applications there are copy,cut,and paste buttons where the user can highlight some text and click "Copy" or "Cut" or "Paste" and then the program would do the corresponding actions. I was just wondering how to code such a button in Visual Basic 2010? Thanks in …

Member Avatar for Netcode
0
2K
Member Avatar for gunbuster363

Hi guys, microsoft installed many things on my computer and most of them I don't know what they are. It make me feel so sick. I want to know what are they ( if anyone know ) and are they must be installed. Many thanks. Here is a list of …

Member Avatar for caperjack
0
506
Member Avatar for dre-logics

I use Visual studio 2008 I use MYSQL 5.1 I want only to backup database Test to to a specific directory. I use the [COLOR="Green"]application settings [/COLOR]to determine which directory(see attachment). [COLOR="Green"]Green[/COLOR] shaded code works perfect. [COLOR="Red"]Red [/COLOR]shaded code works not!! This is with My.settings. I can not see the …

Member Avatar for dre-logics
0
625
Member Avatar for TSims11

So I need to be able to close a window when I open another window... Here is my code: [CODE]private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { Form2 ^form2 = gcnew Form2(); form2->Show(); Form1->Close(); }[/CODE] All this does is close both windows... If you guys could help out a noob to …

Member Avatar for TSims11
0
277
Member Avatar for Vv IVIatthew vV

hey, i'm writing a piece of code and i got an error that i really don't understand. The code is below, but i had to post it all because i can't even understand the error, so i posted it all. The Error: [QUOTE]1>main.obj : error LNK2019: unresolved external symbol "int …

Member Avatar for Vv IVIatthew vV
0
344
Member Avatar for shredder2794

Hello all, I am trying to make a program in visual basic 2010 where the user enters hours minutes and seconds into text boxes and then the program will count down from that until its equal to 0 when a msgbox appears and says its finished. I was converting hour …

Member Avatar for codeorder
0
551
Member Avatar for DrueY

Hi, I'm using the Windows Phone 7 emulator in Visual Studio 2010 and I need to get the source code of a webpage. I open the emulator and put in the web address and hit OK. Nothing happens. I hit OK again after a few seconds and voila my text …

0
65
Member Avatar for Futchy

so i just started this programming class in school today, im having alot of trouble, i dont want everyone to do the work for me, but i would love for you guys to tell me what needs to be done, i know this is alot to ask so if anyone …

Member Avatar for darkbreaker
0
417
Member Avatar for stelman

Hi there, I want to use a PictureBox in my project. The PictureBox does not appear in the default toolbox settings, so I tried to add it myself. I opened tools->choose toolbox items->.NET Framework Components and I chose the PictureBox along with other controls that are selected by default, but …

0
90
Member Avatar for hoong

The runtime error -2147217396 (8004100c) keep occurs once i attempt to run this code to get the received signal strength of my WLAN card from WMI by using VB6 in Windows Vista. So is there any solution to solve this automation error ? Is VB6 cant access to certain WMI …

Member Avatar for hoong
0
1K
Member Avatar for malayasthana

can someone tell me how can i list all the .txt files of a directory or folder by a c++ program. please tell . i have tried void f_ListFile() { system("cls"); system("DIR /b D:\\*.txt"); getch(); } it is working for this but when it is something like this below void …

Member Avatar for Ancient Dragon
0
122
Member Avatar for neosonic

I put one smaller picture box inside the bigger picturebox. The annoying thing is, I cannot have a good picture, because the my smaller picture is in rectangle shape, while the smaller picture box is in square. So there is a residual space in the smaller picture box that I …

Member Avatar for AndreRet
0
285
Member Avatar for jlininger

Hi I am new to the programming world . I took a certification course for my MCTS .net I passed one of two certs for MS. But even though i undersatnd syntax i don't get coding in its entirity. I don't want to see that my time and money went …

Member Avatar for Diamonddrake
0
101
Member Avatar for tunde011

Hello all, I am hoping you point me in the right path here. How do I open a workbook when a value in the listbox is clicked? Thankyou

Member Avatar for AndreRet
0
209
Member Avatar for gee_azizi

Hi, in my VB6 app, there are ADMIN and USER type that can log in. Is it possible that ADMIN can monitor USER activities like when they delete the data, who had log in into the app and else? Thank you

Member Avatar for AndreRet
0
256
Member Avatar for nagatron

I would like to know to remove spaces from start and end of a string without removing the middle space. Ex. _ _String _ Sample _ _ = String sample I have a code: [CODE]Text1.text = Replace(Text1, " ", "")[/CODE] The code removes all the space in a text. Ex. …

Member Avatar for AndreRet
0
169
Member Avatar for Naveed_786

I am using this method to take print of data peresent in textboxes but it prints on top left corner i want to take print in a sequence and distance as it apears on form also want to increase font size waht should i do please help me. [CODE]Printer.Print txtstudentid.Text …

Member Avatar for AndreRet
0
283
Member Avatar for SkyVValker

I am using the code below to update the fields in a table.bt it update only first recorde ..where m i doin wrong plzz. help me..! [CODE] StChk.Open "SELECT * From SPINF WHERE STATUS='Active'", Con, adOpenDynamic, adLockOptimistic FeeTrans.Open "select * from TBLFEE ORDER BY VOUCHERNO", Con, adOpenDynamic, adLockOptimistic Do While …

Member Avatar for AndreRet
0
90
Member Avatar for malayasthana

in the program i am creating a file with specific path.. file name is to be entered by user and then we have to create a file but the code is giving the error written after the code. void f_Createfile() { string dirpath; // stores final name for file with …

Member Avatar for jonsca
0
132
Member Avatar for blazeenterprise

Hello, Im creating a application in Microsoft access. I need to protect it with a license manager. I have built one but works from the computer. Whats i realy need is that i puplish my license database on the internet and in the application when you press active software it …

Member Avatar for AndreRet
0
115
Member Avatar for bnelle01

I am in the early stages of working with programing. Everyone I talk to around here who is in programing knows how to do the hard stuff but everyone of them said they did not have to start off using basic. I am trying to make that numbers game. I …

Member Avatar for AndreRet
0
147
Member Avatar for beginninphp

Hello all, I've been stumbling (more like Stumbling, I hope) across the web looking for something that can do occasional screen captures using a cron job on my casual gaming site server. I was hoping to be able to save screen captures of a few characters as I leveled them …

0
195
Member Avatar for Kingcoder210

I have created my program there in vb.net(visual studio 2008). I have used crystal report to show reports. However after creating setup file by advance installer I have tried to install it there in my client`s pc. Everything is working but crystal reports are not working. When I am trying …

Member Avatar for Naveed_786
0
475
Member Avatar for kinv001
Member Avatar for AndreRet
0
415
Member Avatar for ash07

Hello aLL I need a small help from you guys.. I am creating project in VB6.0 and access 2003, form has combobox,tab control,textbox msflexgrid .. I am trying to retrive data from database.I have a sub procedure which is nicely working for all controls except combobox. while debugging I found …

Member Avatar for AndreRet
0
213
Member Avatar for Gatsby

Hi, All. I created several basic programs on Visual C# Express and now I'd like to get into the Web Developing / ASP.NET side of Visual Studio. I downloaded Visual Web Developer and all my previous C# programs are now accessible and editable with Visual Web Developer. So, my question …

Member Avatar for Gatsby
0
312
Member Avatar for saranyashanthi

hai can any one help me to write the codings for hospital management in visual basic on basic forms of bloode donation list,admission form,etc

Member Avatar for PoisonedHeart
0
86
Member Avatar for TheDocterd

Hi there recently I received help on how to ensure that a user don't close a form before he/she completes all outstanding entries on a calendar. That works perfectly, but now the problem is I have to complete all entries up to say the year 2020. I only want the …

Member Avatar for AndreRet
0
110
Member Avatar for damson

Can anybody help me in on how to connect my VB interface to a database. I have already designed the interface but I do not know how to connect it to Dbase. Damson

Member Avatar for AndreRet
-2
2K
Member Avatar for Jean Chew

Hi, can some kind soul advise me on my coding cos it does not seem to work. [CODE] private void DisplayText(object sender, EventArgs e) { textBox1[COLOR="red"].Display[/COLOR](); if ([COLOR="red"]10<x && x<294[/COLOR]) [COLOR="red"]&&[/COLOR] [COLOR="red"](-5<y && y<13[/COLOR]) && (-12<z && z< 228)) textBox1.display("It has moved inwards"); else if (-53<x<-265 && -11<y<37 && -57<z<218) …

Member Avatar for apines
0
193
Member Avatar for Gumbo

Hi I'm doing an assignment on Rational Number calculations. I'm getting some compiling errors which I don't know how to fix. Here is the error message and the code is beneath the error message. I would really appreciate if someone could read over this and see if you know whats …

Member Avatar for Gumbo
0
186
Member Avatar for Purrenhage

I am learning C++. This class project was to write a program that will let you enter a diver's first and last name and city. Also 5 judges results along with the difficulty for the course. Then display the results. It is suppose to ask if you want to enter …

0
78

The End.