|
Hi,
We have a Visual Studio 2005 professional license but now we have to work on a VB6 project.
This application was written some time ago by an external resource.
The reason for using VB6 was that the resource had a license of VB6 and we did not have any license of any VB version at that moment.
We have noticed some 'non-standard' behavior in the application and want to do some maintenance on it.
Today we have a license of Visual Studio 2005 Prof.
Our production network/server environment is .NET 1.1 compliant. For the near future we have no plans to upgrade to .NET 2.0.
While opening the VB6 project in VS 2005 prof, the 'upgrade' feature produces a nice overview of issues.
These can be solved of course... but I'm not sure if VS 2005 Prof can then create a VB application that is 'standard' (=no .NET) or if .NET compliance is included by default, that it will be .NET 1.1 comliant.
If we can't produce a 'standatd' VB .exe in VS 2005 prof. we have to search for a VB6 package that is on sale.
Any advice, options, hints, tips etc. are welcome.
Kind regards,
Hans Kelder
SNTG.COM
|
|
|
|
|
Hans Kelder wrote:
If we can't produce a 'standatd' VB .exe in VS 2005 prof. we have to search for a VB6 package that is on sale.
You can't product a VB6 exe from VS 2005. VS 2005 only produces managed code from VB.NET. This requires the .NET framework 2.0
You'll have to try and find a copy of VB6 that you can buy. EBay might have some copies but I can't vouch for the authenticity of the licences.
|
|
|
|
|
System.DateTime.Now show both date and time. My problem is i only wants to display the time. IS there any way to do that? Thanks a lot.
|
|
|
|
|
use this
DateTime.Now.ToShortTimeString()
Tamimi - Code
|
|
|
|
|
ok.. Thanks a lot for the help
|
|
|
|
|
Hey,
Can anyone tell me if there is a way to find out which web browser is set as the default? Also, is there a way you can manipulate the default browser or other default apps (via the Registry maybe)?
Thanks!
|
|
|
|
|
Please can anyone share with me the code required to UPLOAD a textfile from one computer to another either through FTP or webservice.
thanks
Preethi
preethishivbaba
|
|
|
|
|
Stop reposting the same message multiple times, the more you repost the less people are likely to help you.
Have you tried writing the code yourself ?
If so what problems are you having, if not why not ?
This is a site where developers help each other, not just demand source code for free.
If you cannot write the code yourself, either pay someone who will or learn how to do it yourself.
regards,
Darka [ Xanya]
"I am not a slave to a god that doesn't exist."
|
|
|
|
|
Please provide the coding of the webservice that u used to upload..
thanks
Preethi
preethishivbaba
|
|
|
|
|
Hi,
We need to upload a text file to another server.We are given the other server's Ip and Uid and pwd.IS Ftp the best way to do it or Web service .Please guide me and help me with the code.
Preethi.
preethishivbaba
|
|
|
|
|
both way is good, but just FTP is file transfer so u may have problem with add new line into the existing file. i used webservice with is really handy
I am Entry level person
|
|
|
|
|
Can u please forward me the coding please....
Preethi
preethishivbaba
|
|
|
|
|
Is that anyway to write to csv file start from specific line of record? Let say start from the third line of the csv file.
|
|
|
|
|
CSV file is just normal textfile with coma. u can use streamreader to get all the lines in the file!
I am Entry level person
|
|
|
|
|
I know csv is a comma-separated file and i would like to write data into it start from certain line and not read from it. Anyway, thanx for help!Could anyone pls give better suggestion?
|
|
|
|
|
Thanks Guffa,
I am trying what you said, but it doesn't work yet.
I set the datatype of the session.sessionID as nvarchar(MAX), but i am not sure whether i am right or wrong. I can input the sessionID into my database on the design page, but when i go to the shopping cart page, there is a big problem, says "Input string was not in a correct format", and "Source error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below".
So what can i do now? change the sessionID datatype to the uniqueidentifier?? but i think i did try, but failed as well.
Please help, thanks
Happy New Zealand Labour's day!!;)
Jackie Ding
|
|
|
|
|
Hi,
I think i have already fixed this problem, i just forgot to change the parameters in the dataset.
Anyway, thank you for your help, Kumar and Guffa. Your suggestions were really helpful!!!
Cheers,
Jackie Ding
|
|
|
|
|
Hi there,
I am borned with .NET era (I meant that I started coding when .NET came out). I have a need to catch the windows property such as position, layer, side, handle ... I have done some research and see most solution is dealt with WIN API 32 which is a very strange animal to me.
Question: do I realy need to learn Windows API in order to deal with my needs above? or does .NET has any class that I can use instead Win API? I am so sick when I see those API books. they are terribly THICK!!!!!
Any advise is greatly appreciated
If you think that I need to deal with damn API, and you also know where are good sites of API such as API for dummies please give me those links.
Hope yo all have a happy coding.
Paula john
|
|
|
|
|
No, it can't. Not yet anyway. The .NET Framework is, amoung other things, a wrapper for the Win32 API.
For what you're asking about, the Win32 API is the only way to go. If you want examples, look at http://www.pinvoke.net[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks for the advise. Bill is not really doing quite a good job huh? don't you think?
have a good d
|
|
|
|
|
|
Hi there,
If you add the calendar control into the form, and from there, you can tell if that is a leap year or not.
I may be wrong but I think the calendar control class will return some boolean that states wherether select year is a leap year such as
Messagebox.show(ctrCalendar.selectedate.Isleapyear)
Good luck
|
|
|
|
|
that will work fine, I forgot to specify that I need to do that with my own codes, only using if, else if in the code and textbox for input and another textbox for output and a button.
Thanks for your help though
|
|
|
|
|
You can use the modulo operator to find out if a number is divisible by another. The expression x mod y returns zero if x is divisible by y.
That should be enough to get you started.
---
b { font-weight: normal; }
|
|
|
|
|
I have something but it's not quite right, because years ending with 00 before de decimal are not leap years (example 1700 1800 1900 or even 2000000 as long as it has 00) I don't know how to do that. Also thanks for your help Guffa.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim y As Integer
y = TextBox1.Text
If y Mod 4 = 0 Then
TextBox2.Text = "is leap"
ElseIf y Mod 400 = 0 Then
TextBox2.Text = "is leap"
Else
TextBox2.Text = "isn't leap"
End If
End Sub
|
|
|
|