Visual Basic General Discussion
Shell - 15 May 2010 2:26 AM - 4 messages
In VB6 I can walk through a directory using the Dir function and get the names of the files in the directory. How do I get any comments associated with each file. Thanks ...
Problem installing COM+ application proxy on widows 7
Steve - 14 May 2010 5:57 PM - 2 messages
This might not be the correct place to ask this question as it really is not VB specific (at least I do not think it is) but you guys here have always been able to help me out either directly or by pointing me ...
Strange VB6 IDE crash
kpg - 14 May 2010 3:43 PM - 4 messages
On my old dev machine vb6 started crashing with window's 'Were sorry...' message. This began about 6 months ago. Now this was a well used workhorse machine that had plenty of junk installed and uninstalled over the years, ...
Questions about adding barcode scanning capability
Paulo - 14 May 2010 2:10 PM - 29 messages
Hi, friends I want to add barcode scanning capability to a next release of my application. A barcode with the identification of the customer will be printed in a form. After to fill in the form, customer sends back the report ...
Object Reqired Error Using Kill
jim evans - 13 May 2010 10:39 PM - 7 messages
I use an ocx in a form, but I want to delete the ocx before the program ends. So, I unload the form and try to execute the instruction Kill My.ocx. But, I get an Error 424 "Object required" ...
String formatting question
-mhd - 13 May 2010 9:04 PM - 4 messages
Is there a shorter way to express the following using a value indicating how many @ to use? It just gets tedious counting those little buggers out. Format$(sString, "!@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@") -mhd ...
Binary files? 'System.ArgumentException' occurred in mscorlib.dll
Davej - 13 May 2010 1:40 PM - 4 messages
I have been lead to believe that VB is now a "serious" language, but recently I tried to do some simple binary reads of a file and could not get it to work. This was using "Visual Basic 2008 Express." The ...
Bee - 13 May 2010 1:43 AM - 2 messages
Experimenting with a timer class. The main loop looks like this. Private Sub TimerLoop() Do While Not m_bEnabled = False If GetTickCount - m_lTickCount >= m_lInterval Then RaiseEvent OnTimer ...
Bee - 13 May 2010 1:33 AM - 10 messages
I am playing with some web cam calls in VB6 and ran into an interesting situation. The API calls use the clipboard to place an image on. So I was running this code and decided to respond to an eMail and edit ...
Dennis Rose - 12 May 2010 11:04 PM - 3 messages
Help, I am using VB5 on a Win XP computer and am stumped. The instruction below works just fine: StringStart = InStr(1, txtShowPrintArea, "<year>") But I want to use a reference for the search string "<year>". ...
What started executing your program?
Tony Toews [MVP] - 12 May 2010 9:25 PM - 4 messages
Folks Just curious. Is there any way of determining what program started executing your program? I'd like to know if someone clicked on a shortcut or if they used Shell or ShellExecute. I doubt it but I thought I'd ask. ...
Making an exe file
M Wade - 12 May 2010 8:16 PM - 6 messages
I am creating a personal program using VB6 and Windows 7. I have not used VB6 for a couple of months and this time after the program has been completed and tested under the IDE I went to create an exe file but the ...
Jim Bunton - 12 May 2010 5:46 PM - 6 messages
I have a vb application which uses winsock to "POST" an Http request and report on the response [windows XP ] [vb 32 bit for Windows - over 10 yres old!] gets an appropriate response I have written a similar application in VB in Access 2000 ...
Assign a string to an array
LondonLad - 12 May 2010 2:36 PM - 10 messages
Hi I started with a post of how to find a number in a string and was helped in the most by Rick Rothstein but as his help proceeded it became clear that I had started the split of the string in not the best way. He posted the code ...
DbgWProc in Win7 64
Donald Lessau - 12 May 2010 10:16 AM - 7 messages
Hello, I can't seem to register DbgWProc.dll ("Debug Object for AddressOf Subclassing") in Win7 64. I placed DbgWProc.dll (32 bit) in C:\Windows\SysWOW64\ (supposed to hold 32-bit files) and tried to register it using C:\Windows\SysWOW64\regsvr32.dll. But I always get a mysterious ...
Groups Gone Wild
Karl E. Peterson - 11 May 2010 5:36 PM - 13 messages
It seems that Microsoft has accidentally created a few groups over the years, then removed them from their own servers. I'm afraid it's a hit/miss story, though, as far as them still being available on the ...
kpg - 11 May 2010 3:01 PM - 18 messages
Using MAPI I've been sending email in vb6 for years. But what it does is launch the clients desktop email program (outlook express, outlook, whatever). Many of my clients are now using web based email but want to email from my ...
How can I convert a subtitle file into a cue file?
MM - 11 May 2010 1:43 PM - 7 messages
For ages I have been planning to write a simple VB6 app that takes a ..srt file (subtitle file) and presents the subtitles on a second screen at the right time during playback of the associated movie. For those who don't know what a .srt file looks like, here's a short ...
VB6 to Web
Luiz Horacio - 11 May 2010 2:39 AM - 8 messages
Hi, I have an old app written in VB6 and wanted to change it to a web-based application, something that could be run in any browser, in any Windows version. Would I need to get it written from scratch? Is there any other possibility? ...
Reestablish Server Connection
David - 10 May 2010 10:17 PM - 19 messages
I have a program (I'm the client) that connects to a server. The server reboots everyday (out of my control) at 4:45:00 for three seconds. At this time my program hangs (stops receiving data) and does Not ...
The NNTP exodus continues.
C. Kevin Provance - 10 May 2010 8:31 PM - 12 messages
MSFT is now using their indian call center puppets to do their dirty work: ===================================================== My latest reply to Sruthi Ramaashs ::some 911 sounding name:: ishish I'm sure that's a raft of crap as well. A canned response from some call ...
SetFocus to MDI Control
Charlie - 10 May 2010 4:24 PM - 8 messages
Hi, I have a ComboBox on an MDI form. After I load a child form I'm unable to do frmMDI.cboWhatever.SetFocus I get no error but the combo does not get the focus. I presume I need to do ...
Steve - 10 May 2010 3:54 PM - 23 messages
I have been tasked with creating a feature in an existing VB6 app that will interact with a clients web portal. The problem I am having is that the web interface requires I send the data (this is simply ...
Update - Microsoft Responds to the Evolution of Community
nntp - 10 May 2010 7:09 AM - 12 messages
What is Happening? This message is to inform you that Microsoft will soon begin discontinuing newsgroups and transitioning users to Microsoft forums. Why? As you may know, newsgroups have existed for many years now; however, the traffic in the Microsoft newsgroups has been steadily decreasing for the ...
Drawing blended drop shadows quicklyNext » 2 3 4 5 6 7 8 9 10
Rob - 9 May 2010 11:41 PM - 15 messages
Hi, I'm working on a usercontrol that is basically a bunch of different sized boxes (sometimes more than 30 on screen at once). I'd like those boxes to have an alphablended dropshadow effect but the code I've been ...