11,868 Topics

Member Avatar for
Member Avatar for AWPROGRAMMER

I want to simulate the enter key when my form opens so that it can continue it processes without the user having to push the enter key or selecting OK with the mouse. I know the question is then why have the form at all. I did not write the …

Member Avatar for AndreRet
0
205
Member Avatar for Xjmaslord4

[CODE]Dim Hours As Integer Dim Minutes As Integer Dim Seconds As Integer Dim Time As Date Private Sub Mydisplay() 'This code is common to all three text boxes so I 'put it in it's own sub. 'Extract the numbers from the text boxes by using 'the Val() statement. Hours = …

Member Avatar for AndreRet
0
180
Member Avatar for neelle26

[CODE]Option Explicit Dim temp As Integer Private Sub Form_Load() Text1.Enabled = False Text1.MaxLength = 10 End Sub Private Sub Command1_Click() Text1.Text = Text1.Text + "1" End Sub Private Sub Command2_Click() Text1.Text = Text1.Text + "2" End Sub Private Sub Command3_Click() Text1.Text = Text1.Text + "3" End Sub Private Sub Command4_Click() …

Member Avatar for abelingaw
0
114
Member Avatar for PM312

How can i generate next increment number for alphanumeric serial . i.e first cheractor is alphabet and next four cherectors are numeric. ( N1125 )

Member Avatar for debasisdas
0
73
Member Avatar for kubic

Hi, I need to use LPT as SPI with CS DO CLK But how to setup LPT pins for SPI can I use D0 D1 D2 on lpt port for this ? is this correct ? lpt pin 2 CLK Lpt pin 3 CS Lpt pin 4 DI [CODE]Const Po378 …

Member Avatar for kubic
0
257
Member Avatar for abelingaw

Ok, here's another problem which i really need help. One suggestion from our panel suggested if we can have a module which do not allow deleting a record (one or more) in the database which are Administrator type. Those records cannot be deleted whether through 1. the program itself (via …

Member Avatar for jhai_salvador
0
529
Member Avatar for prajana

Hello! I am very pleased to join Daniweb. I found it very interesting and helpful and immediately joined the community in the hope of getting some help regarding my final year project. Well coming to the point, m designing an Attendance Management System(AMS) for my college. I have created accounts …

Member Avatar for abelingaw
0
119
Member Avatar for mistymarian

Hi. . . i got this code in visual c3 and i want to code it in visual basic. . .somebody help me please in doing it. . . [code] byte* p = (byte*)(void*)Scan0; int nOffset = stride - b.Width * 3; for (int y = 0; y < b.Height; …

0
90
Member Avatar for JD69

i am trying to find a code that will do a search and find the ip address of any printer on the network with a ip address? Please help thank you

Member Avatar for lolafuertes
0
63
Member Avatar for JD69

i have a a form that has: textbox1 = registration name textbox2 = network folder path textbox3 = local user name textbox4 = password i need a button that will send all of this information to a webpage with a single click of a button. The section where this information …

0
69
Member Avatar for axes2t2

Hello, I am using a code to generate an id for a table.But it is giving 'Conversion from type dbnull to type integer is not valid' exception. Now I know that this is due to the table being an empty set.But it works properly if there is already a row …

Member Avatar for axes2t2
0
2K
Member Avatar for PM312

How can i trigger Leave Cell event for Msflexgrid through command button click or textbox lost focus.

Member Avatar for AndreRet
0
1K
Member Avatar for jogieglenmait

my problem is so simple guys, how do i make [B]3 textboxes[/B] connect to a database of users using [B]adodc in a different form?[/B] [B]so that if you entered your userid, username and password you could log in.[/B] i cant post my code now but ill try later on.

Member Avatar for panchong
0
1K
Member Avatar for MichellePV

I completed a form for my supervisor using VB via Microsoft Word. It worked beautifully on my end...I could fill it out, save it, etc. I password-protected the document and only allowed people access to fill-in the form, which consists of drop-down menurs and text boxes. However, when another user …

Member Avatar for AndreRet
0
158
Member Avatar for daniwaber

Hi:) How can I scroll the report in runtime by mousewheel. I am using VB6 (SP6) and for reports I am using VB report control.

Member Avatar for AndreRet
0
284
Member Avatar for martin11ph

I have an IP camera that feeds video over lan or the internet thru a browser. It has its own interface on either Mozilla, IE or other browsers. I tried calling the site using the Microsoft Internet Controls component and it works fine. The GUI is called upon and I …

Member Avatar for AndreRet
0
902
Member Avatar for divakar.it

I would like to copy and paste special values in excel using VB6 during report generation. But pastespecial is not working. Its throwing error 1004 Paste Special method worksheet failed. Below is the code. can you please advise [CODE]xlTmp.ActiveSheet.Range("H7:H23").Select xlTmp.Selection.Copy xlTmp.Sheets("Consolidation").Activate xlTmp.ActiveSheet.Cells(6, 4).Value = P(N) xlTmp.ActiveSheet.Cells(8, PS).Select xlTmp.ActiveSheet.PasteSpecial xlPasteValues, xlNone, …

Member Avatar for AndreRet
0
211
Member Avatar for neosonic

Hi, I just want to ask a simple question.. hopefully. I use package and deployment wizard to create my software's installer. My software can be run by using a lot of pictures and document that because it contains millions of pictureboxes. Those pictures must be located in the same folder …

Member Avatar for AndreRet
0
341
Member Avatar for anu89

I need the syntax of queries in visual basic 6 to edit the database in ms access.please help me.The name of database is patient details and it has fields as name,id,height,weight,bmi,email,phone etc. if the id is already matching i need to update the details and if its not matching i …

Member Avatar for AndreRet
0
82
Member Avatar for abelingaw

Regarding my earlier post. [URL="http://www.daniweb.com/forums/thread327097.html"]http://www.daniweb.com/forums/thread327097.html[/URL] I encounter an error saying [ICODE] Run-time error '462': The remote server machine does not exist or is unavailable [/ICODE] Haven't notice this error earlier. Code: [CODE] wrdApp.Documents.Open App.Path & "\Reports\Locatorslip.docx" wrdApp.WindowState = wdWindowStateMaximize wrdApp.Visible = True [/CODE] The code works fine. Error only appears …

Member Avatar for AndreRet
0
115
Member Avatar for pardeep3dec

Dear Experts, I am working on a TCP/IP project but my problem is that whenever my programme trying to reconnect again to server then server giving message port number is different. i.e. every time my programme is run its port no showing different in server so kindly guide how can …

Member Avatar for AndreRet
0
233
Member Avatar for neosonic

Hi, I am using vb6 to manipulate my word 2003 template .dot and save it into .doc. My current method is: I am creating I word class, called W. then I use: W.activedocument.SaveAs "documentname.doc", 0, 0, "". 1, "", 0, 0, 0, 0, 0 It can be used perfectly for …

Member Avatar for AndreRet
0
2K
Member Avatar for PM312

i am typing below code in each and every date text box keypress event to allow numbers and back slash keys only. can any function or subroutine be created to avoide typing same code again and again in the project. [CODE]Private Sub Text1_KeyPress(KeyAscii As Integer) Dim ch As String ch …

Member Avatar for PM312
0
68
Member Avatar for eiven_05
Member Avatar for AndreRet
0
595
Member Avatar for abelingaw

How do i populate a combobox with values from a certain field on my database when i click the control? My combobox control name :cbodept Dbase table: Offices and Dbase Table field is: Office Preferably code. Thanks

Member Avatar for AndreRet
0
107
Member Avatar for game4tress

Hi I need to migrate an application from MS Access to SQL Server (2005), and i'm using the code bellow, but i'm getting an error when the compiler reaches the AddNew instruction. It gives me "Run-time error '3027': Can't update. Database or object is read-only". [code] Dim DBTesteSQL As Database …

Member Avatar for AndreRet
0
374
Member Avatar for srinivasan12345

hi, i want to receive a ascii value from rs232 port and then it should be displayed in terms of decimal.. i am using VB for programing... the ascii value comes from a micro controller.. can anyone help me...

Member Avatar for AndreRet
0
125
Member Avatar for eiven_05

when you type a last name on the textbox then on the datagrid,for example i ype letter "S" then the datagrid will show all the las names that starts with letter "S" how it is???

Member Avatar for AndreRet
0
102
Member Avatar for virl2806

i'm using checklistbox, i want to display data from sql database in checklistbox with check when particular id number inputted in textbox. Please Help...I'm new with visual basic... thanks..

Member Avatar for kvprajapati
0
28
Member Avatar for wballinger

I'm using microsoft visual studio 2010 express edition, and am trying to install a new library (pdcurses). I have all of the header files in the correct folder, and the library correctly includes. However, if I use any functions from the library, I get linker errors about "unresolved externals". Do …

Member Avatar for Ancient Dragon
0
99

The End.