Search:
Type: Posts; User: DssTrainer
Search:
Search took 0.06 seconds.
-
Old thread I know, but surprised nobody has mentioned VBSEdit (not free but cheap). There is also a way to use Notepad++ with Microsoft Script Debugger as well.
I can't live without my vbsedit tho
-
Assuming that windows creates an event in the Event->App log for a crashed application... is it possible to monitor or setup a script to fire off when a certain event occurs using a WMI event or...
-
surprisingly no one answered but anyway, I think the answer is no so I just created a string out of all the arguments and passed that and it worked.
-
I have 2 vbs scripts.
Bootstrap.vbs
Main.vbs
The windows desktop shortcut file calls bootstrap and passes some arguments. Bootstrap doesn't care about the arguments, it just does some...
-
Ok I Got it working with:
Private sCurrentTextBox As String
Private Sub Text1_GotFocus()
sCurrentTextBox = Text1.Name
End Sub
-
hmm yea that actually would work. Not a bad idea. Thx! :)
-
I am looking for something like this:
http://www.vbforums.com/showthread.php?t=364718&highlight=click+button+insert+text
But I have 3 text boxes: text1, text2, text3
and 1 button: command1
...
-
Perfect!
Much cleaner than my rat's nest of Mids and rights and while loops
Thanks!
-
Oh same thing... Fine:
C:\Program Files\text.txt
C:\text.txt
G:\temp\text.txt
\\netdrv10\c$\windows\text.txt
\\srcdrv22\d$\temp\text.txt
Happy?!!?
:afrog: :p :D
-
Lets say a user inputs a file path. Could be any style:
C:\Program Files
C:\
G:\temp
\\netdrv10\c$\windows
\\srcdrv22\d$\temp
I'd like to get only the drive or network name from the path...
-
I have 2 Listviews on my form. I'd like to have one common context menu for both, and depending on which listview I right-click on, I need to pass that name to the function so it knows which lv to...
-
Is there a way to make Dir timeout faster?
I have a simple function:
Function CheckPath(sPath As String) As Boolean
If Dir(sPath) <> "" Then CheckPath = True
End Function
my path is...
-
-
Lets say I have a combobox named "cbo"
I want to get the "count" property so I do :
msgbox cbo.count
and it shows me 10.
But I want to make the property a variable like this:
-
-
Rhino was correcting the "array" side. "in this case" referred to the "x" which actually must ALWAYS be a variant, not just this case. But CtlTypes could have been string.
So Rhino was right. :)
-
-
I too would have bet with Ellis Dee...
But it works.. but I don't understand how. I thought a list item associates to a listview or a listbox.. but a random "X" that isn't associated to the array...
-
Right, but what would x have to be for it to relate to the array.
Like with a Listview, x is a listitem
with a combobox, x is a comboboxitem
what would the associated array "item" be?
-
Is there a way to do:
CtlTypes = Array("TextBox", "ComboBox", "CheckBox")
For Each x In CtlTypes
Next
What would "x" be?
-
-
I'm trying to replace an if statement with a more detailed case statement... and I'm trying to use the "TypeOf tobj" as my argument.
So I had:
If TypeOf tobj Is TextBox Or TypeOf tobj Is...
-
ya, I was hoping for a way to do it without a public variable, but that's what I ended up doing anyway.
Thanks
-
But my form doesn't have vbYes, vbNo.. It's not a msgbox, it's got custom values. Buttons in .NET have a "dialogresult" option that you can map a button to a system button event. But I don't see that...
-
How do I pass back the value of a form button click in vb6?
in VB.NET i can do:
MsgEditor.txtDest.Text = txtDest.Text
MsgEditor.txtCode.Text = txtCode.Text
...
-
Ahh i figured it out. Even tho my datagrid fields were set to maxlength, the dataset data binding was set to -1.
-
I start my program, and when i enter data into my DGV, a little red exclamation box shows up with the tooltip of "Column Value cannot exceed -1 characters"
What does that mean? All my columns are...
-
Ah. That actually might work. I can just use the .Description tag to convey that message to the user.
Thanks!
-
Is it possible to add a button that links to "Map a Network Drive" from the FolderBrowserDialog?
I have an application that needs a source folder and a destination folder, which requires the...
-
Heh! Well now at least I know I'm a little less crazy! :afrog:
-
Better demo - http://www.unbannable.com/3lists.swf.html (have to open with IE tho cuz FF and Opera don't like it for some reason)
In this demo I scroll the mousewheel down 3 times on each list...
-
Ok.
Here we go:
http://www.unbannable.com/dirlistbox.swf - Lower Res (flash)
http://www.unbannable.com/dirlistbox.avi - Higher Res (3.18MB avi)
Top box is a DirListBox. I scroll down 3 times...
-
Well I usually use the SHBrowseForFolder API stuff which works fine too.. But I just figured I'd ask why the DirListBox was like this.
Seems FileListBox is fine, normal listbox is fine.. Only...
-
grr gonna have to make a video of it then. Happens on all 3 of my PCs
-
Ya it does 3 lines at a time. But it reloads the full page from the top.
And now i have a sure fire method to prove it! :)
Open a DirListbox in VB6 that has like 15 viewable rows.
Click a row...
-
Ah.. you know what... its DirListBox.. not regular listbox. You are right, regular listbox is normal. (I just assumed all).. So do you at least see this behavior on the DirListBox?
-
are you sure you're using the mousewheel to scroll and have at least 3 pages of listbox items to scroll through? Single scroll bar arrow clicks look normal. But its only on the mousewheel scrolling...
-
Heh.. it is smooth.. but it like paginates from the top when you scroll down, so it looks as if the new group of items is coming down from the top when it should be coming up from the bottonm.
...
-
I've noticed this for a while and I see it is fixed in VB.NET.. but is there any way to make Listboxes not look like they are scrolling up when scrolling down?
Has anyone else noticed this? When...
-
That was my original thought too, but the goal is to be a frontend for spreadsheets only at this time.
|
Click Here to Expand Forum to Full Width
|