Search:
Type: Posts; User: danecook21
Search:
Search took 0.04 seconds.
-
Don't take it so literally. I didn't say you had a field in your database named that exact name. I am merely explaining what I understand you are trying to do. Your database and field names are very...
-
Hence my "Quick answer, no" :-)
-
Did you read the rest of my reply?
-
You need to name your controls with descriptive names. "txt9" for example means nothing to me. With that being said, it looks like "txt1" is inventory and this appears to be going into the...
-
Could be, who knows. It will take too long for us to figure out by you posting 1 line of code at a time. You will need to step through your code, checking values as you go to see where it goes wrong....
-
I agree with DataMiser, the problem is probably somewhere else in your code; in the place you are adding a product. You need to look at that code and check the value of InvRemain afterwards.
-
You need to add some debugging. Have it update a label, show a msgbox or whatever to let you know at different points, what the value of InvRemain and txt6 are.
-
Your code from earlier looked more correct:
If Val(Txt(6).text) > !InvRemain Then
But only if InvRemain is "current quantity on hand".... Is it?
-
Quick answer is No, you can't "click a link" with winsock. Why do you want to stay away from the WebBrowser control? It has the interface already created for you. With it, you could load a page then,...
-
do you even know which field in your database is which? You keep changing it up on which one is the actual Qty on hand. Once you know which field is the "current quantity on hand" then you can easily...
-
-
jmstrickland, no need to cop an attitude. You posted your question in the section called "Visual Basic 6" so of course people are trying to interpret your question in relation to VB6. You were not...
-
It may be that the System account is restricted from that type of operation as it was meant for internal access and not for running GUIs, as far as I know.
But I guess that doesn't explain why it...
-
Oh i see. i don't know why it doesn't work there. ill let someone else comment. sorry
-
I realized you probably want the full path. See attached example. It is more complete.
-
Check this, http://www.techrepublic.com/article/display-a-select-folder-dialog-box-in-vb6/5996535
Add a reference to shell32.dll Then:
Option Explicit
Private shlShell As Shell32.Shell
...
-
You actually can if your BIOS supports it. But since you mentioned it's an older system, it may not.
-
Great, you're welcome. :)
-
What I personally do if it's not a huge file is read the entire file in like this:
Input$(LOF(fileNum), #fileNum)
Then do what I need to with it
-
XP should be fine. Possibly a failing hard drive. When a drive is failing, read and write takes way longer because it's encountering lots of errors.
-
VB Help says if you're using Input #, you should have written it with Write #. Otherwise Look into Input() function or Line Input #
-
incidentals: Before you argue with established members/experts on this forum, you need to check what you're saying. This forum is for VB6 and earlier. What you are referring to is VBA - Visual Basic...
-
You should also use FreeFile to get the next available file number instead of hard coding a 1.
-
LaVolpe, you're the man. Thanks dude. :bigyello: I was able to utilize that nicely. I just added the code to change my shape colors accordingly. Attached is my project for anyone wanting to have a...
-
Thanks! The code is on my work computer so tomorrow morning (EST) I will attach my project. Thanks again.
-
I want to make a binary clock like this. I have the layout of the LEDs created with Shapes. But I can't work out an algorithm to set the LEDs correctly based on the time. What I have so far is 2...
-
No, I'm not going to just do it for you for free. And isn't this backwards? You should be moving TO VB.NET, not away from it.
-
Just a note since you are apparently just starting out. It would make more sense to begin learning the new VB.NET since it is compatible with the later Windows operating systems and VB6 is no longer...
-
This line will replace the selected text with a vbnewline, or if none is selected, simply insert it at the cursor position.
Text1.SelText = vbNewLine
Also, you should be using the following to...
-
Why did you hijack a thread that was created 3 years ago to post a screenshot of your program?
-
You should enclose your code in either CODE tags or HIGHLIGHT (for VB highlighting) tags. You have it in PHP tags.
-
Seeing as you just ignored my whole post and the input of many others here, I can't help you anymore.
-
This code is so wrong I don't know where to begin. Your understanding of the most basic VB functions is completely flawed, and yet you think you are going to create your own programming language. You...
-
I bought my VB6 Pro in 2001, probably around the first of the year. It came with the MSDN library discs and that is what I still use today.
-
We can't help without seeing your code
-
The link he gave you is a google search. Apparently you only tried the first link. Try some more links or do another web search. I also have you the link to the online version. Beyond that you could...
-
Just a side note, you should be testing your application on all the platforms you're developing for anyway. If you don't have copies of some of them, try to find people that do and have them test it....
-
It is also available online, although this won't help with the IDE integration.
http://msdn.microsoft.com/en-us/library/ff576613.aspx
-
Thanks. I will give it a go.
-
OK great! I will ponder over these suggestions that you have given and decide which one to use. I appreciate it. I won't mark this resolved just yet, in case someone else has more ideas. Thanks...
|
Click Here to Expand Forum to Full Width
|