I have a sub which calls a lot of COM (ActiveX) stuff. If I call the sub from the main thread, it works perfectly. If I call it as a new thread, the whole program just disapears without any kind of error message. If I replace the sub with something more simple, it also works OK. The entire...
I made a chart with numeric X axis, but it groups everything by day, even if I set the x-axis format as a time. I would like to print points with time as X, but not grouped per day. I also set my "on change of" to " this will be printed for every second". Anybody any idea?
I want to run a script every time the PC shuts down. There are a few utilities for this, but they are all services just sitting in your memory and waiting for the PC to shut down. There must be a more elegant solution. Is there no registry key or something where you can specify a script? God...
Our network uses a windows backup domain controller both as DHCP and DNS. When I connect a linux DHCP client, a reversed DNS shows it has no name in the DNS. Is there a way my Linux client can ask the PDC to register it under a certain name, in the same way Windows PC's are always adressable by...
I will get a string from a message queue, having +/- the format Name1=Value1;Name2=Value2;.... I will need to do a "UPDATE XXX SET Name1=Value1 WHERE Name2=Value2;" I am still talking to the guys who make the string and can ask for a different format if I want. Any suggestions on a...
Hi, I would like to program regular expressions in java. Doc sais I need to upload them using "loadjava", but the problem is I don't have a shell account on the server. Can it be done through SQLplus?
I am making a wrapper around an IBM driver. I inherit it and would like to hide those methods of the base class which are no longer necessary. any ideas?
I am SSH-ing into a bash-prompt on a redhat box. I would like to change the character set (encoding) the server uses. There doesn't seem to be anything in SSH's config, and I can't find anything in bash. Any ideas?
I need to convert a home-made structure to a byte-array, so I can load it into an IBM library which will accept nothing else. In good ol' VB6 days that would have been a MEMCOPY API call, but somehow I don't think that will survive the dot-net engine.
Is there a better way then encoding the lot...
How can I find out the exact parameters which need to get passed to a stored procedure. Is there, like user_views, a table which shows all stored procedures with their parameters? I am working from VB.NET.
The idea is to let the VB program automatically adapt if the stored procedure gets...
I program for a standalone Dell with UPS. The UPS software can shut down the PC but then it will not come up again by itself after the current comes back on. It is one of these "soft-power" things, I can set it to start after a power loss, but if it shuts down properly before the UPS...
I would like to write/read a simple XML file for saving program settings, but there seem to be 36 different ways to do it, and the whole thing is pretty confusing. I am not looking for a ready made solution, but can anybody tell me which classes to use/way to go for the simplest implementation?
in a module:
Public Const A As Long = &H8000
Public Const b As Long = &H1 Or A
run the app, press pause
in the immediate window:
?hex(b)
FFFF8001
bang head on desk very hard
I have a treeview I am loading with names of files present on a remote server. I would like to show the corresponding Icon for each filetype, by "sucking" them out of windows.
Any ideas?
Act! doesn't keep the email adress in the main table, meaning it is not accessible in a lookup. How do I query all contacts with at least one email adres?
I would like to prevent someone from running off with the entire company customer database. In other words, disable the "File/Save As" and "File/Export" menus.
Anybody any ideas?
I try to get a pointer to a localtime. VB says I use the wrong kind of arguments. (err 49, bad calling convention)What do I do wrong? Original C++ function included as comment:
Private Const ExampleTime_t As Long = 1035655310
Private Declare Function LocalTime Lib "MSVCRT.DLL"...
I want to convert Time_T to VB-Date and back.
For this I need the "Int32x32To64()" API function.
MSDN says it is declared in WINNT.H, but what location do I put in my "Declare" statement???
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.