10,989 Topics

Member Avatar for
Member Avatar for imti321

I have created three tables used dataset to generate fields when i enter data it does get stored but when i close application and then reopen data doesn't show.

Member Avatar for cgeier
0
116
Member Avatar for SaRa Ahmad

'======================================================================================================= If rs.State = adStateOpen Then rs.Close rs.Open "select ActvID from activity_id where ProjectNo = '" & ProjectNo1 & " ' ", db, adOpenDynamic, adLockReadOnly If Not rs.EOF Then rs.MoveLast While Not rs.BOF ActvID.AddItem rs(0) rs.MovePrevious Wend Set rs = Nothing i need to add items without using While plz

0
67
Member Avatar for ctrah

hi... I have problem where I could not read 1k Mifare tag with vb2010 . I use the reader cr038 from here http://www.cytron.com.my/viewProduct.php?pcode=RFID-ICRW-CR038&name=Mifare%20Reader/Writer%20CR038 ... based on the datasheet(user manual) given the command to be used in hexadecimal .. can anyone help me ? Your help is greatly appreciated ... thank …

Member Avatar for oussama_1
0
694
Member Avatar for sourjya
Member Avatar for Sulaiman_1
0
103
Member Avatar for Coudren

I had created a window application, finish debug and it work perfectly in my computer. I then copy a whole folder includes the .exe file to another computer which doesn't installed vb. When i run the .exe files, it doesn't work and pop out the statement below: *********************************************************************************** See the …

Member Avatar for oussama_1
0
453
Member Avatar for rstringer

Hello All, I am working on an Access 2010 application. I would like to click on a command button and open a Adobe PDF document. The code for the On-Click event is: Set shell = CreateObject("WScript.Shell") shell.Run """C:\Program Files (x86)\Adobe\Reader 11.0\Reader\acrord32.exe"" SourceFile" When the Shell.Run line executes, Acrobat returns an …

Member Avatar for Ancient Dragon
0
357
Member Avatar for krunal1986
Member Avatar for raheel88

All, What is the most efficient way of writing several lines of data to a *.txt file? Currently, I store the required text in memory then write it all to a user-specified text file at the end, similar to the following; Dim text As String = "" text = text …

Member Avatar for dionterry
0
3K
Member Avatar for themathprof

` How can I print a watermark in the middle of a word document then return to the top of the doc and start to print whatever text I want to? Here's my code: Set oWord = CreateObject("Word.Application") oWord.Visible = True 'Add a new, blank document Set oDoc = oWord.Documents.Add …

0
200
Member Avatar for cambalinho

i'm using the data control with mask edit box control. when i click on next button, the mask edit box isn't updated. but why show us the 1st element from data?

0
86
Member Avatar for vampshay
Member Avatar for Alireza_5
0
5K
Member Avatar for GregDen

I am writing an application in Visual Basic 5.0 that calls Crystal Reports 4.6. I used to be able to do this on my old PC which ran Windows XP, but now when I try to do it on my new PC which is running Windows 7 (64-bit), I can't …

Member Avatar for miquel.matas
0
543
Member Avatar for FutureDev86

For the life of me, I can't get this to work.... What am I doing wrong? Any help is greatly appreciated!! [CODE] Private Sub webBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long) On Error Resume Next If Progress = -1 Then ProgressBar1.Value = 100 lbl1.Text = "Done" ProgressBar1.Visible = False …

Member Avatar for Richard_16
0
602
Member Avatar for aboy belo
Member Avatar for Reverend Jim
0
45
Member Avatar for jhai_salvador

Hi! I don't know where to post this, but since this is vb6 thread i'll just post it here. I need all of your support by voting Visual Basic Classic to be improved. here is the link: [Bring back Classic Visual Basic, an improved version of VB6](http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3440221-bring-back-classic-visual-basic-an-improved-versi) To vote: Click …

Member Avatar for sten2005
3
245
Member Avatar for Haider92

hi every one i want to write a program in visual basic 2010 to read any file and convert it's binary data into an array i search it internet and find this website http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array i compile the code and make some change and its work fine i tried to read …

Member Avatar for Haider92
0
340
Member Avatar for Bile

-->>Hello everyone, -->>I curently faced the problem with My project that the Main Form (Which is My startup form) in My project is NOT loaded in.. -->>project explorer window during the design time,when I lounch the project I get the following error: Microsoft Visual Basic Errors during loading. Refer to …

0
132
Member Avatar for chetanpbhalerao

Hello, Hope you are doing excellent. I have developed a small commercial application in VB+MSAccess. Now, I want to sale it with trial version and registered version. However, I am not getting a [I]perfect [/I]logic to write in VB to design a [B]Product Registration Code![/B] Please guide me in this …

Member Avatar for sujoy_biswas
-1
5K
Member Avatar for mavtcr

Friends I have a problem in totalling the variable .When I use my code I am not getting the answer as I expected. My code is as below Jsharbal = Format$(TRS("Sharbal"), "#,##0.00") Jworkbal = Format$(TRS("workbal"), "#,##0.00") Jsalabal = Format$(TRS("Salabal"), "#,##0.00") Jprofit = Format$(TRS("Prflbal"), "#,##0.00") CRTOTAL = (Val(Jsharbal.Caption) + Val(Jworkbal.Caption) + …

Member Avatar for mavtcr
0
249
Member Avatar for i8kmon

Hi guys, I'm having problems converting .bmp to .jpg using vb6. :icon_question:The idea is to convert .bmp to .jpg so i can import the saved image to a pdf file for email and/or printing. I downloaded code that's supposed to convert .bmp to .jpg, but I get a compiler error …

Member Avatar for Jose_9
0
2K
Member Avatar for priyamtheone

How do I detect left mouse button down and up events on the 'Close' option of the system menu that appears when the mouse is clicked on the top left corner of a form?

Member Avatar for priyamtheone
0
374
Member Avatar for Yogesh_5

i have 2 arrray. array2 have 10 elements array 1 have 5 elements i want to copy all the element of array1 to array2 to fill all the 10spaces..ie arra2 is filled 2times of array1 how it done. array1={1,2,3,4,5} now array2 is filled like(1,2,3,4,5,1,2,3,4,5} need urgently plz help..

Member Avatar for Reverend Jim
0
211
Member Avatar for babyluxe03

Hi everyone , I am doing a log in& registration form. And i am using a adodb connection. can someone pls tell me what is wrong with my code on the rst.open part, and what should i replace. Im trying to call the password from ms access and suddenly there …

Member Avatar for Reverend Jim
0
238
Member Avatar for McNoobie123

I need to create a form with 2 text boxes to receive numbers as input and 1 command button that displays a message box containing the larger of the two numbers. To do so, I need to write code in the Click event of the command to call a user-defined …

Member Avatar for Reverend Jim
0
204
Member Avatar for zebnoon

Hello and Asslam o alekom! I have problem to install my VB6 Application on Windows 8.First there is erorr when i start to install my Application.Please solve this problem?

Member Avatar for IconKana
0
278
Member Avatar for Yogesh_5
Member Avatar for Piotr_1

I was trying to find an answer for my issue over the net, but it was hard to find any relevant information. I'm in the middle of my school project and I got stuck in a dead point! I have a form which looks like this: http://i60.tinypic.com/24zjfpl.jpg I don't know …

Member Avatar for Learner010
0
396
Member Avatar for R.M.

Hi I need help with something, I really don't know how to do this, but how would I add these questions in to VBA? could somebody tell me for atleast one. The net take-home income and other values are calculated as follows: 1) Calculate CPP and EI If annual income …

Member Avatar for Mr.M
0
275
Member Avatar for Yogesh_5

how we can perform downsampling with ecg data to redude the sample rate ... data comes from binary data files..

0
69
Member Avatar for Bile

-->>Hi there,I have an AeroButton on my form that I have put an Image/Picture on it during design time... -->>but I want the Image/Picture to change when the Button Change is clicked,I have used the following code to acomplesh that... Private Sub Chocolate_Click() 'cmdPrevious.PictureNormal = LoadPicture(App.Path & "\Skins\Chocolatebmp") End sub …

0
70

The End.