10,989 Topics

Member Avatar for
Member Avatar for breezyy

Hey there, I am trying to make a unique ID for each of my records. So in my "First Name" and "Last Name" fields, I am trying to ADD ALL of the characters' ASCII code in both fields. AN e.g First Name : JOHN (string) Last Name : DOE(string) Member …

Member Avatar for selvaganapathy
0
110
Member Avatar for herephishy

Consider the following code: Result= input_number Mod 7 If (Result > 0) Then Cells(1,1).Value = 3 Else NextResult = input_number Mod 5 If (NextResult > 0) Then Cells(1,1).Value = 2 Else Cells(1,1).Value = 1 End If End If What will be the content of cell A1 if input_number equals 56? …

Member Avatar for aktharshaik
0
417
Member Avatar for Ved_TheOne

Hi, i m currently working in autoCAD Can anyone provide me syntax for multidimensional array in VB6.0 for VBA whn i declare by following syntax it gives me error [CODE]dim arra(,) as Long[/CODE] Any help would be appreciated I want to declare a multidemsional array row is of long data …

Member Avatar for aktharshaik
0
734
Member Avatar for dinilkarun

Hi, I am using a dialog box where user selects a XML file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am parsing that xml …

Member Avatar for dinilkarun
0
119
Member Avatar for Derice

Hi, i am having a vb6 program on a local lan server in my company. Recently i did an enhancement to the vb6 program. The program is able write into a blank excel sheet located in the application path. It work fine previously without any problem. After the enhancement, the …

0
43
Member Avatar for MDGM

Hi all, I wasnt sure wether to put this in the web design forums or here because it contains a bit of both - im not sure if the concept is even possible but its very interesting, possibly difficult and longwinded but potentially very rewarding [B]First a bit of background …

0
69
Member Avatar for herephishy

Consider the following VBA statement that calls a user-written function procedure Conevol with two arguments: Volume = 0.333* Module1.Conevol(radius, height) Based on the above VBA statement, identify the assertions below that are false: a. The above VBA statement resides in Module1 b. Conevol is a public procedure c. Conevol returns …

Member Avatar for aktharshaik
0
164
Member Avatar for herephishy

I'm trying to create a do while loop where I can automatically fill cells A1:D1 with the numbers 4 to 1 respectively. can anyone help??

Member Avatar for aktharshaik
0
167
Member Avatar for bushman_222

I've created a client/ server program and I'm not happy with some logic for the server. What I'm doing is Pulling it from the data base adding it to an array ' to help check for error Using the array to save to text file ' for preparation for sending …

Member Avatar for aktharshaik
0
100
Member Avatar for herephishy

How would I modify this do while loop to generate the values 4 to 1 instead of 1 to 4 I can't figure it out?!?!? thanks

Member Avatar for aktharshaik
0
100
Member Avatar for phdbd

Hello, Today I put together some code for a VB macro, but, having tried different methods I can't get it to loop. The closest I could come was getting my 1st copy paste to do so infinitely. I'm trying to get it to copy the department name in front of …

Member Avatar for aktharshaik
0
290
Member Avatar for herephishy

Ok. here it is. can anyone help?? [R5] Consider the following code segment: Dim I, Isum As Integer Isum = 0 For I = 8 To 1 Step -3 Isum = Isum + I*I Next I What will the value of the variable I at the termination of the loop? …

Member Avatar for aktharshaik
0
89
Member Avatar for chern4ever

i want this result : [CODE]* * * * * * * * * * * * * * *[/CODE] but i get this result with this code : [CODE]* * * * * * * * * * * * * * *[/CODE] [CODE]Private Sub Command1_Click() a = 5 …

Member Avatar for mmkhetan
0
75
Member Avatar for yanie

i need help here. how do i display checkbox value from my database MS access in a visual basic 6 form? i hv 2 checkbox in my form, which are Available and Not Available. if the value is yes, i want to display it in Available checkbox and if no, …

Member Avatar for aktharshaik
0
652
Member Avatar for breezyy

So here I am, with a new problem lol, I have a form, and it saves its information in a random file. Now, is there any way to save the values of the check boxes in the file, and so as i can retrieve them later? [ICODE]Private Sub cmdSave_Click() With …

Member Avatar for gsbr
0
107
Member Avatar for sujiazhikode

Hai, I am a VB programmer and i had developed an ERP software using VB and MSSQL as Backend.On that software i am facing some problems with its speed and data storage capacity.So iam [B][COLOR="Red"]seeking a best language and databse for developing strong high speed software that can use in …

0
39
Member Avatar for K.Vanlalliana

If you can help by giving guide to write this using VB, I shall be very glad: I want to get the quotient and a remainder when one number is divided by another one number, Can you please give/show me the Coding to this problem?

Member Avatar for K.Vanlalliana
0
193
Member Avatar for ahmbil

i want to auto generate an ID like 1, 2, 3. and anytime i close my application and open it again it should start from the Id it stopped. if i enter up to 6 the next one should be 7. Can anybody help me?

Member Avatar for K.Vanlalliana
0
423
Member Avatar for DaveWalsh1984

Ok, first of all this is the first time I've used the forums on this site cos only recently joined. I've been studying computing at college for about 5 years and graduated from Sunderland Uni in 2006. Throughout the time I was at college the programming languages we were studying …

Member Avatar for kb.net
0
341
Member Avatar for tgifgemini

[B][/B] I am trying to display/open MS Access report and I get: [B]RunTime error 2486 - You can't not carry out this action at the present time[/B] on this line of code:[code] DoCmd.OpenReport stDocName, acViewNormal[/code] Below is my module: [Code] Set rsUnclaimedRptqry = dbUnclaimed.OpenRecordset("SELECT DISTINCT tblUnclaimed.L1L2, tblUnclaimed.PassNumber, tblUnclaimed.EmployeeName, tblUnclaimed.Status " …

Member Avatar for tgifgemini
-1
540
Member Avatar for hanzi_ru

Hi I need to know whether we can link objects in an autocad drawings with vb Also if it can be done, how? thanks in advance

0
70
Member Avatar for BPNavigator

Hi I'm new to Visual Basic and writting code for excel. My first attempt at writting a piece of code is to format a range of cells to display a particular date and time format. dd/mm/yy hh:mm. My problem is that I have written the code that uses a drop …

Member Avatar for BPNavigator
0
177
Member Avatar for snurd

VB6.0 The following is how I open the Excel file, what I need to know is how to see if it is already open, and also a new Sub to close the file. [code]Private Sub Command1_Click() 'Place statement here to see if already open, if so then Goto 1 Dim …

Member Avatar for snurd
0
1K
Member Avatar for snurd

VB6.0: Writing an argument to see if an Excel file is already opened before opening the Excel file, because if the file is already opened the Excel file opens as read only. If it's already open I want to skip to the next "goto" label (ie: "File Already Opened"). Thanks, …

Member Avatar for aktharshaik
0
391
Member Avatar for GTROYA

I am looking to print some text files locataed in my local drive, i tried everything i know to do that but no luck so far Hope i can get a hand from here Thanks

Member Avatar for aktharshaik
0
1K
Member Avatar for gsatya

Hi Friends, I need a snippet to convert any file into pdf format using VB6. Pls hep me out. Thanks in advance. Satya. G

Member Avatar for aktharshaik
0
76
Member Avatar for kristian_CMS

Can somebody show me how to delete .dbf record/s in VB? i have this code [ICODE]conn.execute "Delete from records"[/ICODE] but its just marking the records for deletion, it wont delete the actual records until i issue the PACK command from foxpro. Please Help.. THanks

Member Avatar for aktharshaik
0
2K
Member Avatar for Tekito

As I learn class modules, one issue that seems to come up repeatedly involves class modules inside class modules - how the "child" class module can never see anything inside the "parent". Say, for example, I'm writing a program involving a card game, and so I have a class module …

Member Avatar for Tekito
0
113
Member Avatar for hell_tej

Hi, Frends Now I m Telling You How to insert Image Dynemically in Crystal Report 8.5 for the use in VB 6:-/ I Create an Job placement Software Crystal Report Which has some Fields and Photo of Candidate so First I Create an Crystal Report in 8.5 then Save it …

0
700
Member Avatar for Sam4Loz

Hi there! Im wondering if there is a tutorial/source for a VB6 and lingo encryption. They msut both work the same way. As in: VB6: [code] sendToLingo(encrypt("my string")) [/code] Lingo: [code] decrypt(receiveString) [/code] So basicly, VB6 and lingo can both encrypt/decrypt the same string that is sent or received. Thanks, …

Member Avatar for Sam4Loz
0
27

The End.