Posts
 
Reputation
Joined
Last Seen
Ranked #590
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
68% Quality Score
Upvotes Received
22
Posts with Upvotes
22
Upvoting Members
20
Downvotes Received
16
Posts with Downvotes
11
Downvoting Members
8
16 Commented Posts
6 Endorsements
Ranked #299
Ranked #355
~132.26K People Reached
Favorite Tags
Member Avatar for happygeek

To say the internet is evil would be the equivalent of saying, "Guns are evil." However, society is bound to enforce the evil use of guns. Murder is wrong and should be punished in a civilized society. And likewise, Pornography is wrong and it's spread and use should not be …

Member Avatar for happygeek
0
1K
Member Avatar for neosonic

[QUOTE=neosonic;1171575]thanks for the info. Anything will do. I don't need to do anything with the picture. I just need to use it in "loadpicture" picture function and display it. Which way do you thing is the easiest? thanks a lot, it's relieve to know that it is possible[/QUOTE] [QUOTE]Graphics formats …

Member Avatar for Giuseppe_1
0
5K
Member Avatar for hkdani

Using tasm32. GetStdHandle returns INVALID_HANDLE_VALUE in eax register. .386 .model flat extrn GetStdHandle:PROC extrn ExitProcess:PROC .data .code start: push -11 call GetStdHandle push 0 call ExitProcess end start Other APIs work fine. just having problems with GetStdHandle. Any ideas?

Member Avatar for hkdani
0
371
Member Avatar for opspl_programme

[QUOTE]But I'm not able to print one bold line. Will someone please help out?[/QUOTE] I would suggest not using escape sequences and LPT1. Instead I would load a driver for the printer and print using the following: [code]Printer.Print[/code] I've seen code like you mentioned and I believe the easier way …

Member Avatar for AndreRet
0
4K
Member Avatar for hkdani

Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize that command button in VB6--after the program is running that is. It's just that VB6 has not provided you with …

Member Avatar for hefaz
1
794
Member Avatar for wargamer2004

[QUOTE]v[/QUOTE] Use the KeyPress Event. The barcode scanner acts like a keyboard so use the KeyPress Event in the form. Usually, these scanners have a few characters at the start that identify it as a barcode scan. You can evaluate the ASCII value in the keyPress event to determine if …

Member Avatar for dahiya309
0
873
Member Avatar for maybnxtseasn

Check your defines for _WIN32_IE? Needs to be defined >= 0x0400 for TBSTYLE_SEP TBSTYLE_BUTTON You can do this in your Resource.h file #define _WIN32_IE >= 0x0400 Also, Microsoft recommends using the [I]CreateWindowEx[/I] over using the deprecated [I]CreateToolbarEx[/I]. Use TOOLBARCLASSNAME in the second parameter with CreateWindowEx

Member Avatar for alfgaar
0
859
Member Avatar for Ravi Kant

You could use the MonthView Control. The Week Property of that control returns that particular day's week number in relation to the current year. For example [code] Dim intWeek as integer intWeek = MonthView1.week [/code] intWeek should return the week number for the particular day selected in the MonthView Control. …

Member Avatar for iluvchubs
-1
2K
Member Avatar for stan yost

[QUOTE]it's easier first off, to reference the object hierarchy ,and beyond that, why would you want to use memory space (a variable) to contain information that's ALREADY stored somewhere? That will slow down the program (more processing, and memory usage) and make code a bit more difficult to read....[/QUOTE] That's …

Member Avatar for Alyssa_1
0
3K
Member Avatar for ImranQureshi

[QUOTE=ImranQureshi;1676038]how to create a text file and to write into it[/QUOTE] I've worked with these before. And from looking at the specs of your scanner all you have to do is scan the barcode, the barcode scanner will decode the symbols and translate them into ASCII characters that can be …

Member Avatar for matcooper
0
3K
Member Avatar for Ole Raptor

[QUOTE]I can re-size the UserControl but the controls on the UserControl are not resizing.[/QUOTE] The User Control has its own resize event. You could write could in that event to resize the controls inside that control. That would be the most logical place to try. [CODE="vb6"] Private Sub UserControl_Resize() Dim …

Member Avatar for WordTickler
0
2K
Member Avatar for dwiniers

[QUOTE]I cannot be found in the collection corresponding to the requested name or ordinal... [/QUOTE] I would agree with BitBlt. I've seen that error popup when I misspelled the field name. In other words, the requested name does not exist because of my spelling error. Sometimes I err on the …

Member Avatar for AndreRet
0
2K
Member Avatar for mc1202bc0077

> i tried to change the location of the access within the codes, but i failed. As mentioned previously, don't hardcode locations of filenames. Your application should normally store its data in the Application Data folder. Microsoft has given a name to this location for each user: %APPDATA% So, an …

Member Avatar for abelingaw
0
1K
Member Avatar for ram_kumar8970

> I want to pass multipule arguments of different datatypes. Everything is identified as a string in VB6 with the Command() command. It's the responsibiilty of the programmer to test and categorize the string data to determine if it can be classified as numeric: e.g. textvb6.exe seven 6 horses could …

Member Avatar for hkdani
0
131
Member Avatar for PM312

You should use an installer program to install your program on another computer. Your development environment has met all the dependencies; otherwise, your program would not run. Use the ***Package and Deployment*** wizard. This should pick up all the dependencies and install the appropriate files needed for your program and …

Member Avatar for hkdani
0
389
Member Avatar for jean1234

You just need to build a string to enter in the first parametere of the Visual Basic Shell function. If you have two text boxes, and the user has entered the appropriate numbers, just use the entered values to build your string for the first parameter of the Shell function. …

Member Avatar for AndreRet
0
309
Member Avatar for v_janssens
Member Avatar for jean1234
0
358
Member Avatar for locsin

scrrun.dll That's the exact name of the dynamic link library (dll). In that library of functions, the file system object can be referenced and used. To add a reference to your project, simply click on the the Projects menu, click on the References Menu, and a form should show up …

Member Avatar for ritesh9nair
0
351
Member Avatar for LFCDay123

Again, if you want help, post the code that you have already tried. The guidelines explicitly say that you are to submit a request with your attempts at writing code. That being said you could use the hide and show methods for currently active forms: [CODE]frmFirst.Hide frmSecond.Show[/CODE]

Member Avatar for razamughal67
0
195
Member Avatar for mb01a

[icode]Function retassoc(fn As String, fpath As String) As String[/icode] You might want to include ByVal in front of your variable parameters. By default, if you leave ByVal or ByRef out of the parameter declaration, the function will be looking for a variable. Sometimes functions intend to change the variables that …

Member Avatar for deades
1
1K
Member Avatar for alapeh

That error just means that the Type WAVEHDR has not been previously defined or declared in the VB6 environment by the user. WAVEHDR could be anything the user wants to declare it as, for example: [code=vb6]Private Type WAVEHDR intWaveLength as Integer dtChanged as Date dtCreated as Date WaveName as String …

Member Avatar for alapeh
0
121
Member Avatar for moe0

First of all, you're to be commended for following the guidelines and submitting your code along with the request. The ability to follow instructions is a good indicator of future success! [QUOTE]when the input is 12 years and 6 months I want the program to print teenager I'm not sure …

Member Avatar for skatamatic
0
300
Member Avatar for EkoX

[QUOTE]How i can split a sentences into words and add splitted words into listbox.[/QUOTE] You could try writing some code as is suggested for submitting requests in the guidelines. But you could use the [B]Mid[/B] function as indicated or you could use the [B]Instr[/B] function. Search for the space character …

Member Avatar for EkoX
0
274
Member Avatar for mayzebra

[QUOTE]However now I'm in a position where I need to call a C# dll from VB6 and I need it yesterday.[/QUOTE] That would be nice, if it were possible. I know you can use a VB6 ActiveX component in .NET, but I really doubt you can go the other way. …

Member Avatar for nirdeshdabas
0
3K
Member Avatar for crimson08

[QUOTE]how to save a visual basic form in any file format such a jpeg?[/QUOTE] A Visual Basic Form is not a picture form. It's a container for other objects. In that sense, you can save the form with the picture on it. There are other contols that you can use …

Member Avatar for deepakx250
-1
1K
Member Avatar for rucci

DebAsisdas gave a useful suggestion. I've never done it that way. Here's some further information along those lines from the MSDN documentation. [QUOTE]Creating a Front-end Database Application with Minimal Code It's possible to create a database application using a minimum of code by setting a few properties at design time. …

Member Avatar for AndreRet
0
1K
Member Avatar for Boshra Nour

[LIST=1] [*]You'll need to use the list Property of the list box control. [*]You'll need to use some kind of loop to search through the values of the list. [*]You'll use your code to match the value of the text box to the value of the item in the List …

Member Avatar for Jx_Man
0
3K
Member Avatar for goodi

You can add an Acrobat Control Component to your form. One of the functions of the control will be to print a PDF document. You probably need to do some investigation on how to use the control. But you can go to Adobe's website. They do have an SDK you …

Member Avatar for hkdani
0
166
Member Avatar for newbie26

You need to have the user select the week and then you need to use that week in a SQL Query statement. If you're using an ADODB recordset, it shouldn't matter what database engine you're using.

Member Avatar for newbie26
0
125
Member Avatar for nfowomola2

You create a query statement based on the dates you want to report on. You must input that data using some type of date control--which would probably be best. Or you can have the user type in the date he wishes to query. But that leaves you open to date …

Member Avatar for ChrisPadgham
0
118