You cannot click on a shape....place a same-color label on top of it and use the label's click event. (Of course, the label will be a square and won't completely cover the same area as the circle,...
Type: Posts; User: SamOscarBrown
You cannot click on a shape....place a same-color label on top of it and use the label's click event. (Of course, the label will be a square and won't completely cover the same area as the circle,...
You could simply unload the form (program) during your main form load routine after you check the value of your label. No need for hidden files/registry entry. Just do this:
Private Sub...
What is the NAME of your datagrid?...the example in that link uses "Grid1".
Steve
If you desire, you can use the fso and two dirlistboxes instead of an explorer browser.
Example (Will need references to FSO)
Private Sub Command1_Click()
Dim fs As FileSystemObject
...
salsa31....
simply add a field in your DB (as suggested earlier), then, in your insert command, include that field and insert today's DATE (just like you did the DOB insert).
Then, to see who was...
You can use files or a db. Save your setting(s) to either, and then re-load upon startup. MANY examples of how to do this in the forum.
'failed'? How so....what's the error, and where did it 'fail' (what line of code).....
Yes. In my example, add (assuming format of text file is now "John","56","23242")
Dim myAgeArray() as String in Declarations section, then
ReDim myAgeArray(y) As String after ReDim myPwdArray(y)...
CAVEATE: Doogle's approach is a fine one to use....I only offer mine as well.
I use two arrays (one multi-dimensional array would work just fine also).
I named you text file (in my example)...
Does this do it for you?
http://www.vbforums.com/showthread.php?699831-checkbox-column-in-datagrid
[QUOTE=homer5677;4417167]I'm still stuck. Here is the file.
I found your form okay, but not the text file...if you will attach that, I'll see what format it is in and offer more suggestions..
Glad you were successful...these types of 'solutions' belong HERE
Excel forum?
Homer...here is a simple way to do what you want:
1-MY text file is formatted "username,password" (one per line)...you can alter the code to read your text file into the arrays as I show.
2-I have...
So, are you saying you DID install SP6 okay? If so, this thread belongs in another section of this forum...if not, what is your issue?
No, but try this....First put all your records into an array, clear and hide the listview, add the items from the array to the listview, and show the listview. Let me know.
Or, mod my slightly and get rid of graphical property.....
Option Explicit
Dim gCmd1Clicked As Boolean
Dim gCmd2Clicked As Boolean
Private Sub Command1_Click()
If gCmd1Clicked = False Then
...
If you want to use command buttons, you can simply change the 'downed' button image on it's click event, and then when you click the OTHER button, set a 'regular' image to the first button.
Here's...
FF. I see quite a bit of confusion in your code.
I made some mods
First, I added one more REFERENCE to your project:
MICROSOFT ACTIVEX DATA OBJECTS RECORDSET 2.8 LIBRARY
Next, I added this...
Can you use this 'snapshot' routine to capture the portion of your form that has the picturebox on it, and then print it (instead of save as in this example)?
Option Explicit
Private Declare...
Ah, I see what you mean...I added a LABEL in lieu of an image...and it did not print the label. More research.......
I placed a picturebox on a form, along with a cmd btn
I added an image to my picturebox
I put your code in the cmd click event
And it printed just fine:
Printer.PaintPicture Picture1.Image, 0,...
If one of your files is not of sensitive nature....attach it and I'll run some examples if you get stuck.
First, welcome to the Forum!
Next...is the file expected to be a huge text file, or maybe just a coupla pages long? Could make a difference on how you could approach it. You can break the file...
Morning TTC.....this is really an issue for the Excel Fora. You can do it through VB6, but you are asking for a Macro....
Here's the last step......Good Luck...look forward to seeing your code......
Click the Go Advanced Button.
Find and click the Manage Attachments button. (A new popup appears)
Click Add Files...
FF---on the Go Advanced button below, find the place to attach your zipped file and send (per our PM discussions).
I have attached the first five steps in jpg images on how to attach files to...
Your code is not correct. This is a sample code that is: EDIT: Not MY Code...just some modified from the other post!
Option Explicit
Private Sub Command1_Click()
label1.Caption =...
nwagboso...please start your own thread.
And in that thread,, state what the compiler error is....probably your naming of the timer or the label.
And, the interval (you set at 100 --- over and over...
What do you mean by "it doesn't quite work right"? Without checking it closely, what doesn't work as you want it to?
Did you add the two lines I posted in my last post? It will continue to display.
Not sure what you want.....(your post is not very specific), but....see this post:
http://www.vbforums.com/showthread.php?721123-Need-Help-animated-marquee-text-in-a-label-not-moving
REF: "I solved it"
If so, please make this thread as RESOLVED, under 'thread tools'.
Add these two lines before your 'end if' and your marquee will continue to run over and over:
If lblannounce.Left + lblannounce.Width < 0 Then
lblannounce.Left = Me.Width
What Reference did you add to your project?
\
(If this is a VB.NET project, wrong Forum....this is for VB6 and Earlier)
In addition, your code is assuming (if one exists) that only ONE record will be returned. Instead of "if rst.EOF Then.../ Else/End",
do this:
(This will show you if more than one entry matches...
Sounds like your query is not returning any records....so, do this:
Put "msgbox sSql" on the line before your 'rst.open' line.
That msgbox should tell you exactly what the query is....what it...
Just emailed you an Irish Quiz program.....it's complete, and you should be able to use most of the code in it...you can reply to that email I used to send it if you have questions.
What is "rstContractsProduct"? Your recordset you show is named 'rst', yet you show this "rstContractsProduct!QuantityOrdered".
Ron...WAY too big (82MB). I've got a much smaller program that I'll send that gives you the same concept.