If you're referring to the standard icon in the upper left window of your form, you can only place icon files there (*.ico) and you specify these through the VB Interface (a project setting or form window setting I think) Greg W
wolgemga@aecl.ca
I'm using WinNT 4 SP6 with VB6 SP5, and here was what my .bat file that was generated had:
myEx.exe Z:\R&D_Branch\myDirWhen it ran in the console window however it displayed:
myEx.exe Z:\R & D_Branch\myDirAnd then it threw an error
I solved the problem though by simply enclosing my command...
This problem is actually coming from a batch file that is written, not the VB application itself (whoops, should've traced the error further first) Greg W
wolgemga@aecl.ca
That would be easy - just have the sPath variable get changed based on the user input. Then do a check - if it has a .??? at then end, it's a file and you just check it - otherwise you would just treat it as a directory and add a "\" character onto the end if needed. Greg W...
I have a VB 6.0 application which is doing a lot of work with directory structures. Many of these dirs contain the '&' character in them. This character always places spaces to either side of itself when it is read by VB. Is there any escape function for VB (I haven't found one yet!)? Greg W...
When using the File object under VB6, the DateLastModified and DateCreated properties return two digit year values. I've upgraded to SP5 for VB6, but this behaviour still persists. Is there any way I can extract the required 4 digit date from a file? (ie other methods under the FSO or File...
And in the end I've pulled it off! This is the code which I used (a combination of some of StrongM's solutions) which, in essence, makes a console application (although my version just prints to output atm).
Private Const STD_ERROR_HANDLE = -12&
Private Const STD_INPUT_HANDLE = -10&
Private...
I'm using CE 8.0, and I'm getting an error under the administration page. Whenever I try and access any pages such as Objects, Folders, Servers, Users etc., I get this error message:
Retrieve Error
There was an error while retrieving data from the server: Unable to get the admin object for the...
OK, looking over some of your other threads I can see I'd want to write to the STDOUT pipe which should now be available to me because VB hasn't killed it? What sort of a command would I use to write to the STDOUT pipe from VB? Greg W
wolgemga@aecl.ca
My question now would be how would this change the code I write in VB? Now that this executable is identified as a console app, how do I reference its parent console window? Will VB now have a builtin refernce to the parent console which I can call? Greg W
wolgemga@aecl.ca
Have you tried using Debug.Print statements to follow the execution of this method? Another thing to do would be to set watches on the iFaxDoc and iFax objects that notify when a change occurs. That will let you trace the values of the objects and see if they are initializing and being set...
Whoops, never mind - found some references to this elsewhere ... and have decided to just use a copy of VB.NET on another workstation to build this program. Why on earth doesn't MS provide what would appear to be the most base of functionalities to VB6? You'd think it would be easier to compile...
I'm currently in the process of trying to make a VB app which runs from the command line. While I've found information on how to create new instances of the console, etc. (which all work quite well, thank you alt255 and others who made posts in the thread Console Applications), I need to use a...
Search the web for any sort of RAM checking utility. Most of them will make a boot disk and will then step through every sector of your RAM, performing basic funcitons. It will take upwards of an hour for even small amounts of RAM (64 megs), but it will check all the avaialable RAM performing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.