Description:
Microsoft Visual Basic newsgroup.
|
|
|
The End statement
|
| |
I've been using the following in startup.bas in various apps, no
problem. Then this morning, I ran the app side-by-side (using
manifest) on a test PC (XP) and when I tried to run more than one
instance, I got the critical stop.wav sound and I didn't see the
MsgBox.
Is using End a bad idea?... more »
|
|
Problem running .bat file
|
| |
Trying to import a text file into SQLite with the .import command that is part of sqlite3.exe.
No problem at all doing this manually from the command prompt:
cd C:\SQLite
(press Return)
SQLite3 Test.db3
(press Return)
.mode csv
(press Return)
.import Test.txt Table1
(press Return)
This imports the data nicely in the table that was already created before... more »
|
|
Writing and Reading Key & Item To A File
|
| |
Probably not understanding all of this so please enlighten me.
I would like to write a Dictionary and a Collection to a file and then later load it back.
What is strange to me is that I can write an array of UDT with Variant elements and read that back using Put then after doing an Erase do a... more »
|
|
question about PDW
|
| |
Is there any reason to keep running the setup.exe after it launched the setup1.exe?
|
|
PictureBox in code
|
| |
Hi
I'm pretty sure I'm missing something obvious here but although I tried a variety of search terms Google was not much help.
I have a picture in a PictureBox that needs some alteration and then saving, easy enough using a hidden PictureBox or two but I'd rather not so I wondered about using a PicutreBox in code that's never shown.... more »
|
|
Folder \ File Name Convention
|
| |
My archive app creates folder names and file names based on the process so I can see at a glance how the folder and/or file was created. e.g. Zip type, encryption etc.
Is there a naming convention for naming folders and files?
Is 253 the correct max length for both files and folders. Does that... more »
|
|
LoadUserProfile
|
| |
I'm trying to load a user's profile (LoadUserProfile) using a token returned from LogonUser. The call succeeds on XP, but fails on Win7 with error 1314 (ERROR_PRIVILEGE_NOT_HELD). Research tells me I need to enable SE_BACKUP_NAME and SE_RESTORE_NAME priviledges on the token using AdjustTokenPrivileges. The call to AdjustTokenPrivileges succeeds but also... more »
|
|
installed fonts not available until system is restarted
|
| |
Tested on XP, I install fonts copying them to the system fonts folder, then calling AddFontResource, then sending HWND_BROADCAST, WM_FONTCHANGE; but the fonts appear in the fonts list but not usable by the installed program.
To make the fonts really available I need to restart Windows.
Do you have any idea how to install fonts and to make them available... more »
|
|
|