Search:
Type: Posts; User: IanBrooke
Search:
Search took 0.02 seconds.
-
Using Windows 10 (up to date). I have a very strange problem with the VB6 SP6 IDE. I recently installed this on a new computer, everything seemed to go Ok and everything seems to work properly,...
-
I don't see how you can say that the VB environments are the same on the 3 computers because they aren't. VB (and everything else for that matter) uses various Windows supplied library files, both...
-
I have just installed VB6 on a new computer, it all seems to be working properly except that it's not breaking on some undeclared variables.
If I have an undeclared variable on a form or module it...
-
Sorry - I just searched the forum and found another reply to a similar question and I think it fixes my issues - Thanks
-
Hi,
I've been using VB6 for many years under Windows 10 but I now have to install it on a new laptop as my old computer died. I've previously installed it on other computers from the same disc...
-
Thanks for your reply, I really need to read it a few times and think about it, I'm grateful but I don't honestly see what it has to do with class references but my c# is weak. On my original...
-
I'm still struggling to come to grips with global variables although I've used them a lot in other languages, possibly too much!
I do understand the use of a static class but what's bugging me is...
-
Thanks so much for your help
-
Oh thank you, now I see the error. In the Output window it says "error BC30925: Specified access 'Friend' for 'MySettings' does not match the access 'Public' specified on one of its other partial...
-
I have a problem with my first vb.net project. There's an amount written, maybe 6 classes and a couple of modules, when I click Start I get a message "There were build errors.." however the Error...
-
-
That's great, sorted out all my errors - thank you! :thumb:
-
Still messing with C# trying to come to grips with it, not getting very far!
I have the following bit of code (not the entire project) which has syntax errors that I don't understand. I have...
-
Excellent, thank you very much for your help.
-
Ahhh, That sounds possible. although it's very difficult in a new language knowing if I'm doing things the 'right' way or if I'm trying to translate other languages when there are better ways of...
-
Thanks for your reply. My problem is that in the real program there are dozens of classes and most of them require to access methods and properties in many others, to pass references to each to the...
-
Hi,
I'm very very new to c# but spent many years developing in other languages but now trying to pick-up the basics of this language.
What I'm looking for now is how/where to create a single common...
-
Sorry if this post is long-winded, it's difficult to explain briefly.
We have some old software written in vb6. It creates a folder under the user's Documents folder (by default) and copies files...
-
-
Ahrghh, problem with working on vb6 for so long, I must be stuck in that mentality. It is a secondary form. It sounds as though I should be able to create an instance of the form and set the...
-
Hi,
I have a form on which I need to set some properties before it is shown, an example is some text in a label either directly or through a form Property Set.
In vb6 this is simple as you can just...
-
Thanks everyone for your efforts but I believe I've fixed it thanks to Elroy's code. :)
There is a bug in the code I posted which for some dumb reason sets .lpstrfile to a string of chr(0) and then...
-
So here is my code:
Private Declare Function GetSaveFileName Lib "comdlg32.dll" Alias "GetSaveFileNameW" (pOpenfilename As OPENFILENAME) As Long
Private Type OPENFILENAME
lStructSize As...
-
Sorry, accidental double-click
-
It's Win 10.
Elroy, I've now tried your code and it works fine so I'm guessing it's some sort of difference between GetSaveFilenameA, and W although I can't see a difference.
If I change your...
-
Thanks very much for your reply.
I'm afraid I misled you somewhat. I'm actually using GETSAVEFILENAME as an alias for GETSAVEFILENAMEA, as per:
Private Declare Function GetSaveFileName Lib...
-
There is an api routine "Getsavefilename" which seems to return only the filename of the selected save file (which I guess is reasonable given its' name). However, there must be a way to find the...
-
In VB6 this is really easy to do but I can't figure out how to do it in .Net.
I'm trying to produce .net code which does the equivalent of this:
In a Class, or in a module...
Public xyz as...
-
Well I've been programming for over 30 years in more languages than you've every heard of and in that time one thing I've learned is that one person's idea of "official" is often totally different...
-
1. What's the difference between a Listview class and a control? I was referring to the control.
2. What do you mean by "official documentation"?
3. Would you provide a link to that documentation?
-
Can anyone provide or link example code showing how to add columns, change column widths, add&change column headings in a Listview using code (NOT via the IDE).
Thanks
-
Never mind, I just found "Selectedtab"! :blush:
-
Hi,
I have a form containing a tabcontrol with 5 tabs. On one tab I have a datagrid, when the user clicks an entry on the grid I need to complete details from the row clicked in textboxes on a...
-
I'm having a problem with setting up a form. One of the items on the startup form is a listbox which needs to be initialized with a series of names. I have a sub which does this which is currently...
-
Thank you, I spent 10 minutes looking for that, missed it completely.
-
Closing - I fixed it.
For info, when I changed the properties window to undocked, it appeared in the center pane and it was possible to see there that the actual properties list had somehow been...
-
Hi,
I've suddenly got a problem with the VB6 IDE. On the right of the IDE are two docked windows, the top one is the Project Explorer, it's fine, below that is the Properties window, it's not fine!...
-
Here's the code, this code is NOT the real program but a small test application and I've deleted some non-relevant bits. Note that the user may be rotating and/or zooming the image frequently. The...
-
I'm looking for a simple imaging control, similar to a Picturebox, in-fact I can already do much of this with a picturebox. It needs to do 4 things, load and display a 2D image file (whatever...
-
Thanks.
I did look at kpmc, so far didn't get it to work, the difficulty is that as soon as the cell goes into editmode it stops notifying keypresses which seems to me pretty stupid, there doesn't...
|
Click Here to Expand Forum to Full Width
|