11,870 Topics

Member Avatar for
Member Avatar for ankush.mukherje

hi experts please help me with this code [CODE]Private Sub cmdreport_Click() Set crApp = New CRAXDRT.Application frmViewReport.Show Set adorsRAM = New ADODB.Recordset Set report = crApp.OpenReport("D:\Ankush\created\proj11\Reports\Report1.rpt") sSQL = "Select type, user, location, cpu_no, model, speed, ram_unit from Master where RAM=" & Form1.cmbram.Text report.ParameterFields.Item("pRAM").Value = Str(cmbram.Text) report.DiscardSavedData 'CLEARS REPORT SO WE …

Member Avatar for ankush.mukherje
0
131
Member Avatar for planethax

In VB6, how would I subtract 1 from a Hex? Do I need to convert to Integer first? (have tried HextoDec function, but not having success) Example Hex = FF FF Hex - 1 = FF FE

Member Avatar for joekbit
0
253
Member Avatar for bdrkb
Member Avatar for abu taher
0
109
Member Avatar for npstyler

Hai Experts, I need to convert the pdf files to word document , i have seen some softwares that converts pdf files to word document , i need the component or and activex dll to perform this work if anyone have done plz. plz try to help me

Member Avatar for cocol
0
231
Member Avatar for planethax

Having a guy help me with some code, however, he doesnt know VB6 and only has freebasic I need to convert the following into VB6 so I can make a user interface (comport selection etc) but not sure how to do it. Even a step in the correct direction would …

Member Avatar for planethax
0
474
Member Avatar for umepinkie

Hi I'd made a form using visual basic and added a few check boxes. I want to know you save the check box item into Microsoft Access Database when I click on Save. for instance: checkbox1: item1 checkbox 2: item2 checkbox 3: item 3 and in MS Access, I have …

0
44
Member Avatar for jammiedude

Just downloaded Office 2010 to see what changes have been made in the VBA environment and all looks well. But i am having a big problem typing in my code! as soon as i type something it appears in red, it autocorrects so fast that if i type .range("A1") it …

Member Avatar for jammiedude
0
136
Member Avatar for pytup

Hi, i have got code: [CODE]Dim numbers(99) As String Dim howmany As String Private Sub Command1_Click() howmany = InputBox("how many number you want input?") For x = 1 To howmany numbers(x) = InputBox("Enter a number") Next x FontSize = 14 For y = 1 To howmany Print numbers(y) Next y …

Member Avatar for QVeen72
0
105
Member Avatar for pankaj.garg

Hi, i am trying to create a program where user can add picture to a form at runtime..and store it in a database as well...i am using following code to define array of picturebox and load a picture in it... [code] Dim mimage() As PictureBox ReDim mimage(0 To num1) As …

Member Avatar for pankaj.garg
0
2K
Member Avatar for 22MDS

Please help. Can you help with the code I require? I have tried but I don't seem to beable to get it right. I have simple I/O Random FIle which works fine but I would like to be able to input a string into a textbox to find the record …

Member Avatar for vb5prgrmr
0
82
Member Avatar for poojan

i have been trying to make a program to transfer any kind of files through [B][COLOR="Green"]serial port[/COLOR][/B] using [COLOR="Green"][B]VB6[/B][/COLOR], i was able to transfer the text file but not other files so please help me on this

Member Avatar for joekbit
0
84
Member Avatar for subscriptions

Hi, I tried compile the VC++ project in visual studio 2008. I'm getting the error "the null device is missing from your system". I tried viewing non-plug and play drivers for Null device. But could not find it. Could anyone help me to fix this issue. I'm using Vista Home …

Member Avatar for Ancient Dragon
0
45
Member Avatar for b3nsoi
Member Avatar for palcy

hi!!! am palcy , am having problem in my listview with my save button whenever i try to edit something then press the command button for saving the update that ive' done it give's me the error "querry is too complex" then pointing my "rs.Update" code any solutions or proper …

Member Avatar for QVeen72
0
122
Member Avatar for gvlral

I have recently use a Exit For within a For Next Loop to exit the loop later the procedure returns to the same For Next Loop. I noticed the control does not reset. Is this what is supposed to happen?

Member Avatar for QVeen72
0
89
Member Avatar for mcw317

I have a dataset with a field defined as a system.datetime datatype. In my visual studio 2008 that has crystal reports 12, I have a report that should display this date field. This worked fine in an earlier version of visual studio 2008. However, since I have installed the updates …

0
41
Member Avatar for xairylle

Help... I've been asked to do a VB6.0 program. I'm required to enter values in a database that will be queried later on. Unfortunately, I can't seem to get the code right. This is what this part of the program should do: 1. Get the name to be searched 2. …

Member Avatar for jireh
0
173
Member Avatar for JohnPhilipps

Hello, I have two data comboboxes on a VB6 form "DataComboMasterPolicy" and "DataComboPurchasingGroup" after selecting the first appropriate choice with "DataComboMasterPolicy" I would like for the 2nd datacombox "DataComboPurchasingGroup" to only display the data associated with the user's selection. The data is in an Access 2003 db. My code for …

Member Avatar for jireh
0
123
Member Avatar for Israelsimba

is it possible for me to retrieve data from different tables then display them on a single data report. i am using a data environment for connection. if its possible how can i do it

Member Avatar for Israelsimba
0
96
Member Avatar for mchi6aa2

I need a visual basic code for the followings: Suppose a restaurent menu. unlimited user can access that. items will be listed there with the price. they will pick up some of them and then including tax (15%) the total will be shown. thats it. then the program ask for …

Member Avatar for jireh
0
204
Member Avatar for pankaj.garg

Hi, i m trying to make a program (VB6) in which i need to do some tasks as soon as the date changes (like creating new database etc.), but dont know how to keep track of date change...searching on this gave me following - 1. Using a timer with 1 …

Member Avatar for pankaj.garg
0
157
Member Avatar for pankaj.garg

Hi, i have couple of doubts.. 1) How do i use MSComm Component in a module...i could gather that i might have to use 'class module' for that..but not able to make that work. 2) if i use a class module..how to pass parameters to a class...as i would like …

Member Avatar for pankaj.garg
0
288
Member Avatar for olgar

i want to do a search in a listbox This is the code I've written but not working properly formats you some idea [CODE] If TextBox1.Text = ListBox1.Name Then MsgBox("true name") Else MsgBox("false name") End If[/CODE] thanks for help

Member Avatar for sidnei
0
75
Member Avatar for malfane

First, my disclaimer is that I am not familiar with Excel or VB :( That being said, one of my users is getting an error when running a macro in Excel 2007 from his personal.xlsm. The macro is a simple color change which we have re-recorded several times but when …

0
47
Member Avatar for PinoyDev

Good day.! What a frustration drives me just this day.! Last night we got power lost. Just this day when i open my vb project, ive got an error message says that project1 cannot be loaded. When i try to open one form on that project it also returned, form1 …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for bobnoby

Hi, I've been working on a program that lets you make cartoons. You have to draw one frame at a time. This works fine. The problem is, all you can do is playback the cartoons, you can't save them. I need to find out how to save multiple picture files …

Member Avatar for vb5prgrmr
0
100
Member Avatar for zawpai

Hi, Could you please show me where my error is? I have created one "DLL" file by myself. Then, I want to reuse it in another project, but the system prompt error message whenever I call that "DLL" function. I created "DLL" with "ActiveXDll". The following is my dll code. …

Member Avatar for vb5prgrmr
0
247
Member Avatar for sidnei

Hi, in my job, we use VB6 applications to control various needs, such as supply management, sell, buying, etc... We use ZEBRA printers, with ZPL print codes, directly from LPT1, wich seems like above code: Open "LPT1" For Output As #1 Print #1, "SOME TEXT TO PRINT" Close #1 (Of …

Member Avatar for SCBWV
0
1K
Member Avatar for kzip
Member Avatar for guen

I need help convert from vb6 to php, this script for encrypt or decrypt some text and protected with password. Please i really need this, thank you. Private Sub Command3_Click() Dim S1, S2 As String S1 = RndCrypt(Text1.Text, "yourpassword") Text2.Text = S1 End Sub Function RndCrypt(ByVal Str As String, ByVal …

Member Avatar for GreenDay2001
0
85
Member Avatar for an_nurif83

ai.. i have try alot of times connecting the database in Ms Office Access 2003 with VB 6. bUT there is error when i try to connect between "record source" in vb with data that i save.Can anyone help me and give me some advise,references or way to solve this …

Member Avatar for vb5prgrmr
0
617
Member Avatar for jeffrey4u

Can someone teach me how to make a smiley move as i see in yahoo and msn messenger?:-/:icon_rolleyes:

Member Avatar for jeffrey4u
0
103
Member Avatar for Kalusingh
Member Avatar for apiss_nurz

:?: hai...i need ur help...i need sumbody here can send me a complete student profile system coding and interface..i really really need it pls.........it urgent..

Member Avatar for mucikera
-1
738
Member Avatar for fajar_07201

1) i have a group of data and equations that have been formulates in microsoft excel. Is it possible for VB to directly read my formula from excel or i have to copy the formula and place it in VB coding? how to code it? 2) can VB read my …

Member Avatar for vb5prgrmr
0
68
Member Avatar for neosonic

Hi all, I have a picturebox with scalemode pixel dim height as integer dim width as integer height = picbox.scaleHeight width = picbox.scaleWidth picbox.PaintPicture pic, 0, 0, height, width, 0, 0, picheight, picwidth note: picheight and picwidth are the height and the width of pic (in pixel) that has been …

Member Avatar for neosonic
0
2K
Member Avatar for meba k

hi friends.. i want to search a record from a datagridview with an testbox... Can anyone help me plz... thanxs in advanse

Member Avatar for abu taher
0
47
Member Avatar for pankaj.garg

Hi, i am trying to develop a tool box for simple graphics...basically i want to give users an option to use a tool box and design basic drawings at run time...the drawings would be like simple network diagrams...some nodes connected to a backbone types... my friends (google, yahoo etc.) have …

Member Avatar for pankaj.garg
0
110
Member Avatar for Richy321

Im looking to group forms together in the Project explorer window in the vb6 ide. In vs2005+ there is an option to add a folder(filter) in the solution explorer and put files in to group similar items. Does anyone know the equivalent in the old vb6 ide or a plugin …

Member Avatar for vb5prgrmr
0
152
Member Avatar for crackerjacker

well, basicly i just want to detect when the left mouse button goes from being DOWN (clicked) to UP(unclicked). and this will be hapening externaly, like, i may be clicking Freecell, not the VB form. I alredy have some code [CODE]Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) …

Member Avatar for selvaganapathy
0
749
Member Avatar for cabsjonel

hi folks merry christmas to all of you it is month of sharing and loving but folks i have A big problem On function i dont know how to call a functions on vb can you help me or give me some example program hoping for your kindness god bless …

Member Avatar for phpbeginners
0
97
Member Avatar for JAVIER SOTELO

Hi, I'm locking for a control to create cab or zip files. Sombody know about it? I have used the cabinet filem but I'm expecting a situation: the control after extract a number of files is inestable and send a error of automatization.

Member Avatar for phpbeginners
0
97
Member Avatar for marky-b

I have a vbscript that uses a WScript.Shell instance and .Run("ffmpeg.exe -params",,True) to fire off a ffmpeg video conversion. When the conversion is complete, the cmd.exe window stays open at a typical prompt, and i was curious if it is possible to auto-close that child cmd window when it's done …

Member Avatar for marky-b
0
97
Member Avatar for rubina thind

hello sir/madam, i am making a project on college management in vb 6.0 so i want to download this project from net please help me hoe to download this project i will be very thankful to you.

Member Avatar for abu taher
0
56
Member Avatar for AndreRet

Just to say hi to all the .NET helpers out there. I have made the dreaded (but forced) change from vb6 to .NET. I will rely a lot on your expertise in this forum, and thanks to those that will be prepared to sort all my questions. I have been …

Member Avatar for debasisdas
0
90
Member Avatar for jeffrey4u

i have develop a winsock chat and am trying to add a smiley or an emotion to the rich textbox. can anyone help me out plzzzzzzzzzzzzzzz

Member Avatar for jeffrey4u
0
183
Member Avatar for suniljoseph

Dear Sir, Please give the idea for linking VB with any Database(Foxpro Or Ms Access) and how can we print the required information from it in a particular format?

Member Avatar for vb5prgrmr
0
112
Member Avatar for sanmano
Member Avatar for raguapk

Hai Friends ! This is my first thread .I 'm developing a vb 6.0 application with barcode scanning enalbled.It's for Photo labs.I 've a bar code scanner connected via USB.It reads the barcode values .No problem with that.But when ever I scan a barcode,the value is stored in the text …

Member Avatar for debasisdas
0
139
Member Avatar for harn991982

hello all, i m newbie here... and i have one silly question to ask about inet ftp... i was trying to ftp using inet ftp in vb6, but keep getting 'variable not defined' error for my Inet1 (eg: inet1.URL = host_name) do i need to register any component or add …

Member Avatar for abu taher
0
109

The End.