after 2 more hours of google time trying to find more information on this I seem to be reading a lot about Reflection.
Is this a library or something that I can reference in my project? If so, does anyone have a link where I can download it? I just can't believe that no matter what I...
Hey all, I've developed a C# app that basically acts like a nice UI alternative to Extra's Attachmate and MS Access.
We have a series of macros already coded for attachmate and I am trying to figure out how to tie them into the C# application so when you click the cmd button 'run report' it...
Hey guys, I'm coding a series of macros for Extra's Attachmate. Quite a few of them read data from an excel spreadsheet using the following code. (they are global for a reason)
Global xl_app as Object
Global xl_wb as Object
Global xl_file as String
in my main I have this to instantiate it...
Sorry I should've been more specific, not looking for how to get the info, more the recursion side of it is what I can't get my head around.
I have a directory list, but then to go inside of each directory, checking for more directories, then inside of each of those etc.
That's what I'm...
Hello,
I need to scan a folder and all subfolders looking for pdf and xls files grabbing each file name.
Not sure exactly how this can be accomplished. Is there anyone that can point me in the right direction.
Thanks for the writer code that gave me the syntax I couldn't find yesterday!
As for the reader that's pretty much exactly what I did, only not in the onclick event, I put it in the on_load for the form etc..
Still though very valuable information and yet again, this form impresses!
Ok, last one, this is a one liner in php, don't understand why VB has to be so difficult. After googling for 1/2 hour I gave up (told you you were making me lazy) and decided to post here.
I've got a csv file, looks like this
1,40,48,1,10,500
2,40,48,2,10,500
3,40,48,3,10,500...
you guys are going to make me dependant on this website. that's NOT a good programming practice!
Thanks for the fast reply, I'll play with that a little later tonight!
You people were so helpful with my movable label that I decided to post regarding an old issue I had in VB.NET 1.1. Now I feel like a complete noob but here's my problems.
Panels -
Is there a way to figure out what is inside of a panel after run time? ie, which text boxes, label boxes, cbo's...
NICE! works like a charm and a VERY BIG THANK YOU to everyone who contributed on this post, you made a clerk very happy! And saved me having to think, also an added bonus!
Thanks again!
Thanks for the reply, however it still doesn't work right.
I have however finally figured out why, just not completely sure how to fix it as of yet.
When you click the 40 x 40 label located at 320x60 on the screen it gets the co-ordinates of the 40x40 label.. so if you were in the middle...
http://img171.imageshack.us/my.php?image=examplevp0.png
that link has an image with what is going on the border that is almost all grey is the one I'm currently dragging, the top one that is yellow with black lines through it is the 'ghost' as I'm calling it.
whenever I click on a label to...
Ok I'm really close now, I've got the label moving but it's doing some very strange ghosting effect...
I must've screwed up a bit when modifying the code but I can't see how as of yet.
By ghosting I mean I click and drag and I see the text moving (kind of it's a bit sketchy) but I also see...
Wow that was really helpful. Thank you so much, I know some of these days of Attachmate Macro Coding and misc other VBA there is no way I would be going home and jumping onto a site posting code like that.
As much as it pains me to do this to ya..
e.Location
MouseEventArgs doesn't have a...
Ok that's good to know then,
the above code as it is still doesn't work to display the label. When I run the method it seems to create the object, but won't display.
Ok,
so I've got it doing everything there, it still doesn't show up on the screen. I can't help but think there must be something else I'm missing.
And a major problem with hard coding the
' Class member
Friend WithEvents newLabel As System.Windows.Forms.Label
is that there can be anywhere...
Hey guys, one of the clerks at work here just e-mailed me something that really boggled my mind. Asides from going web-based (not an option) I don't know how to do this.
They basically want to be able to add an object (went with label because that's basically what it is) after run time and...
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.