Search:
Type: Posts; User: IanS
Search:
Search took 0.03 seconds.
-
Thank Ian - Don't worry. I'm not losing any sleep over it.
More of a light hearted thread this so all suggestions welcome - the wackier the better.
-
Just do the UPDATE first
UPDATE tblSomeTable WHERE ItemID = iSomeInteger
if con.executenonquery < 1 then
do the INSERT
-
For years I've been putting little images on my buttons. Picture of a printer for the print button. Picture of a wrench for the tool s. You know what I mean.
But for years my 'Save' button has...
-
No mouse events at all.
It happens very rarely, I can go a week or more without it happening, so it's not as if I'm thinking about it in advance.
I think it's when I'm working on some other...
-
I don't do anything with the cursor such as WaitCursor so it's not my code.
I have a datagridview. It's not bound to any database. I just use the datagridview because it's a handy way to display...
-
I'm sorry if you think i was rude. If we were sat facing each other you would have seen my face and heard my tone of voice and you wouldnt have thought i was rude.
But if you want to take it that...
-
Perhaps in your world of UI where a human creates and edits everything it doesnt quite make sense. But not everyone works in your world.
It's a montion control program sending instructions to a...
-
Thank you.
My current solution uses a richtextbox. I use highlighting to pick out certain events. Works perfectly on files much bigger than 20 meg. In the old vb6 days i used to use paging to hold...
-
Sorry, i dont know how to answer that question. Cant you assume that i do? So please. Do go on.
-
Thanks. I already try that. I just didnt explain well in my first post. Changing the size, even programatically, causes a redraw which locks it up for a few seconds.
-
I have a RichTextBox on a form.
Anchor set to all 4 sides so when the form is resized the RTB resizes as well.
All works fine but if the RTB contains a lot (ie >20meg) of text then there is a...
-
Now that you mention it that does make sense. But how is it working on the current XP based system? All users authenticate to a domain server and when no user has logged in how is the current vb6...
-
I really need to display the live data. Its system status info that people need to respond to quickly.
The idea of the screensaver is that if the person whose job it is to monitor the system hasnt...
-
Sorry Paul. I'm not at my desk at the moment so cant try it. I'm Accessing vbforums using an ipad.
This my.resources idea. If that works on the local drive will it also work on the network drive?...
-
Actually, for dev/testing the screensaver file and the html file are in the same folder. The system has no problem getting the screensaver executable but the executable refuses to open the html thats...
-
Just for testing purposes the folder where the html file is located is set for sharing. Security is Everyone, full control. Wouldnt that eliminate any permission issues?
Bear in mind that the...
-
Sorry, should have explained in more detail. The network drive is what the old vb6 system is using.
On my .net development machine the html file is in the local computer.
-
Making a .net version of an old vb6 screensaver.
Ive got an old vb6 project that builds a screensaver. Its simply a form that fills the display. The form has a webbrowser control which loads a...
-
VB6 programs are harder to 'crack' than .net but if somebody wants to crack it they'll go into assembler. You have no defense against a determinined cracker who uses a dissambler into Assembler...
-
We dont know what his InputLen is. We dont know if his RThreshold is 1 or above. He says he losses only 10% of his data. Personally I'm surprised he's not lossing 90%
He needs the doevents...
-
We dont know what his InputLen is. We dont know if his RThreshold is 1 or above. I'm assuming they're both set ok because he says he losses only 10% of his data. Personally I'm surprised he's not...
-
I dont know if the Form UI will refresh while your code is looping so Refresh might not work unless you call doevents. Either way, your loops will make your application UI very unresponsive unless...
-
Use any number you want. I used to use the drive serial number but i sell to some large companies who build cloned work stations and laptops which they then issue to their employess. They all have...
-
I didnt bother trying it.
Anyone else think that the iPad spell check && autocorrection sucks?
I have to go. My camel is on fire.
-
Dont bother with a hardware id. When the software is installed just generate a random serial number that is stored somewhere in the file system and that is displayed in the program's about box. When...
-
I dont know what syntax you use when adding records. I make a conmection and a command object then build the command string containing the sql INSERT statment and then i call command.executenonequery...
-
Tryparse does NOT return a number. It returns a boolean.
It takes two args. As well as the string You have to pass a numeric variable in with the arguments which will be used to hold the result of...
-
Certainly. Its just such a long time ago that i couldnt remember what versions of dao/jet were used so just mentioned vb6 knowing you guys would know what i was talking about.
Thank you all for...
-
I assume you are also opening the port. Just setting the port number does not open the port.
MSComm1.Commport = 4
MSComm1.Portopen= true
-
Thanks.
Maybe a bit of background. Sorry if its long winded.
i have an application written in vb6 Its been running without problems for around 15 years. The database has all text columns set to...
-
In jet databases. Text columns have an option "Allow Zero Length" which can be set Yes or No.
Has the behaviour changed? In my vb6 application If "Allow Zero Length=No" then an empty string is...
-
I too have started noticing strange behaviour in MS Access databases (Using the oledb JET in a .net application)
The exact same code has worked fine for many years but recently I've noticed that...
-
After more testing I've decided that it's not remembering the bad command line.
It's remembering the error message.
It remembers the 'first' error message and keeps displaying that even when...
-
Very strange.
I've been using INNO to build a script to deploy SQL 2012 Express as a quiet installer - ie install without user interaction. It worked just fine.
But I decided to try a...
-
I wouldn't even bother looking at the actual number of rows.
I'd just loop while rows.count > 0
Read row (0)
Copy row(0) to the other grid
Remove row (0)
Loop back to the top.
That way...
-
For years I've made OCXs for my applications using VB6 and VC6/MFC/ATL etc.
But I'm curious. Is there another c development environment, perhaps with ready made templates etc, which make it really...
-
I Don't need to ask Microsoft. I just found a microsoft page which explains and supplies sample code for self elevation.
In their sample the current process isn't elevated. When the application...
-
I wasn't expecting to float willy nilly.
I'd want UAC to display a prompt saying that application wants to do such and such and prompt for admin credentials. The user can see the prompt and accept...
-
Sorry. No. I'm not going to deploy a second executable. Surely there must be a way to escalate.
-
I have an application (Targets FW4 client profile) that runs with default manifest (AsInvoker).
Occasionally i want to allow the user to escalate to admin to accomplish an admin task and then...
|
Click Here to Expand Forum to Full Width
|