|
Can I compile VB6 code in VB7?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
you can convert VB6 to vb.net
but compile vb6 as it is .. i don't think so
|
|
|
|
|
okay, I was wondering because my school will give me VB6 very soon, but I already own VS.NET so I don't want to install VB6 unnecessarily!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
VB6 and VB.Net can both be installed on the same PC (side by side) without affecting each other.
Regards
Wayne Phipps
|
|
|
|
|
Rickard Andersson wrote:
okay, I was wondering because my school will give me VB6 very soon, but I already own VS.NET so I don't want to install VB6 unnecessarily!
Then, you have asked the wrong question; the correct is: can VB.NET code be compiled on VB6? And the answer is no.
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
|
|
|
|
|
We are trying to developing small DNA application usnt VB .NET. We define one interface project. Ther are two types of class one is for property (IAc) & other is for method (IAcExec). We implement IAc in business tier & IAcExec in Data Tier. Data tier is resides on MTS. We are using ActivatiopType is server. We have feced problem like When we pass ByRef Me from Buseiness tier to data tier using function. (Function fill the value of interface class.)At that time we have not received values at business tier. In brief it just treat as ByVal Me. Same when we declare varible for business tier classes and pass object then we have recd. values. Please give me suggestions on it.
|
|
|
|
|
Hi everybody,
I have added a property inside the propertygrid through am getting the collection editor.Am also able to add items to the collection but unable to edit the names of the object.Bydefault,it is getting System.Object as the item.
Regards
Ranjeet
Ranjeet Ranjan Kumar
|
|
|
|
|
Hi all,
I want to add NumericUpDown control corresponding to a property using property grid.If anybody knows it please let me know ASAP.
Regards
Ranjeet
Ranjeet Ranjan Kumar
|
|
|
|
|
Hi all,
I would like to pop-up the custom form using property grid corresponding to a property defined.If anybody knows please convery me asap.
Best Regards
Ranjeet
Ranjeet Ranjan Kumar
|
|
|
|
|
I am using visual basic 5 and I am using a crystal report object on the form. I am using the following code to bring up a template with the report which then has a button to print it.
svrId = .LogOnServer("p2sodbc.dll", "SystemDSMName", DbPath, "admin", "")
.WindowTitle = reportType
.ReportFileName = PROGRAM_PATH + "\reports\" + rptName
.PrintReport
.LogOffServer svrId, False
Everything works fine most of the time but on some client machines, when the ".PrintReport" line is reached when printing the report instead of a template coming up with the report that is displayed and can then be printed, no template or a ghost template comes up and the hour glass stays up for a while and then disappears. Its as though the system is making an attempt to bring up the template with the report, but is unsuccessful. No error message is displayed. Any other file prints fine on these machines and printer setup seems to be fine. The problem also seems to be intermittent on these machines as sometimes it works. Any help would be greatly appreciated!!
|
|
|
|
|
I have a problem with Combo Boxes that I just can't fathom.
I'm creating a database front end working in VB.net. The front end requires loads if lists such as UK Counties, Suppliers etc. To handle these I've created Class Objects to hold an ID as an Integer and a KnownAs name string . These Objects are stored in an ArrayList inside a second Class which provides methods to supply the appropriate data when asked - I've split the data descriptive Class from the data handling Class as I eventually will use remoting and will pass an ArrayList of my data Objects to my data handling Object. These lists are shared and either static as in the case of Counties or have a Time To Refresh as in the case of Suppliers and exist for the life of the Application. The records, say Customer details are stored in their own Classes with the County value being stored as an ID. The values are written to the Form fields manually - I've not used binding. In the case of the Combo Box I set the DataSource to my data handling Class, the DisplayMember to my KnownAs string and the ValueMember to my ID (both values are Methods in my Class). On applying my record to the Form I set the Combo Box SelectedValue to the appropriate record ID value.
Here's my problem - If my lists are sorted by ID it all works as expected. If, however, I set the Combo Box to sort the DisplayMember it all goes pear shaped. I realise that a Combo Box stores the ValueMember as a string and sorting the DisplayMember scrambles the ValueMember order, but I find it hard to believe that something I've been doing in Access for years doesn't work here. Apart from these niggling problems I'm very much in favour of DotNet. Any ideas ?
Steve
Answered my own problem:
Sort the data within the query and turn ComboBox sorting off.
The ArrayList is zero based as is the ComboBox list so provide a GetIndex procedure that searches the ArrayList for the required ID and returns the corresponding Index (Incremented Count from zero).
PS ValueMember is an Object and not a String as I've previously stated.
|
|
|
|
|
Hi!
I'm trying to find a way of, by code, to register a file type (Ex .vmn) and to assign an icon to that extention, i would also like to know how to make that file type only openable by a pre-defined program!
Thank you for your time
|
|
|
|
|
I have a picturebox control i want to save the image of the picturebox into sqlserver database ,how is it possible using insert query in VB.NET.please help me with code
|
|
|
|
|
you can just store the image path in the database and then use the load picture function and use the path stored in the database if you dont know these functions i know i have the code somewhere i would have to find my .net version but i know exactly where my vb6 version is so let me know if you need further help
|
|
|
|
|
|
Thanx a lot Thats what i was needed
|
|
|
|
|
How can i use a dll in VC++ which is written in VB???
please help me as soon as possible.
thanks
sukhdeep
|
|
|
|
|
Yes..
If you make a VB project ActiveX DLL and create Class modules you can cerate objects of these classes in VC++
but VB can't expose functions that can be called using Declare in vb6 or ::LoadLibrary in VC++
|
|
|
|
|
Hi,
How can I print pdf files from a batch file without user interaction and to any specific printer. Its important the printer selection.
Regards
Pedro
|
|
|
|
|
|
i am in the process of writing a game called bunco and i have hit one of those walls. Basically i have an 12 element array and at the end of the game i need to find out which element holds the highest value,which holds the second highest, and what holds the third highest but i also need to find out if there is a tie for any of those spots now i know the long way to do this but was hoping that someone might know a shorter and more effiecient way
|
|
|
|
|
If in VB.NET, use Array.Sort.
If in VB6, search the web for a sort routine.
It's not the fall that kills you: it's the sudden stop - Down by Law, Jim Jamursch (1986)
|
|
|
|
|
thats not exactly what im looking for. it is vb6 and the reason i came here was to find some help normally i would just use this one sort function but the problem is the elements in the array are all instances of the player class so not only do i need to find out the 1st 2nd and 3rd place winners but i need to know the names of them which makes it a little more noodle scratching than a normal array and the thing that sucks most is i can see the solution on the back of my brain well anyways if anyone has any ideas
|
|
|
|
|
Hi,
I am trying to convert the below code to a vb.net project.
I have tried all sorts but didnt manage to do it.
can anybody help?
http://www.codeproject.com/csharp/servercombobox.asp?target=servercombobox
Thanks A lot
Gabriel
vbnetuk@yahoo.co.uk
|
|
|
|
|
What are you trying to do? The whole control or just the Server enumeration?
|
|
|
|