Jump to content
Xtreme .Net Talk

jamesanthony

Avatar/Signature
  • Posts

    27
  • Joined

  • Last visited

About jamesanthony

  • Birthday 03/04/1962

Personal Information

  • Visual Studio .NET Version
    Visual Studio.net
  • .NET Preferred Language
    VB

jamesanthony's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi All This use to work Me.lblVersion = "Version " & App.Major & "." & App.Minor & "." & App.Revision any ideas on what it should be now Cheers
  2. Hi Probably being lazy but some things can be so easy when you know how. Can you maybe help with this. It works in VB6 but does'nt in .NET It basically resizes all forms opened to the same height etc. Sub BuildMenu(ByRef CurrForm As Windows.Forms.Form) Dim KilBackGnd As Object On Error Resume Next With CurrForm .Left = VB6.TwipsToPixelsX(0) : .Top = VB6.TwipsToPixelsY(-260) : .Width = VB6.TwipsToPixelsX(18000) : .Height = VB6.TwipsToPixelsY(14500) : .Show() End With With CurrForm.Picture1 .Left = VB6.TwipsToPixelsX(120) .Top = VB6.TwipsToPixelsY(120) .Height = VB6.TwipsToPixelsY(900) .Width = VB6.TwipsToPixelsX(950) End With With CurrForm.Picture2 .Left = VB6.TwipsToPixelsX(12570) .Top = VB6.TwipsToPixelsY(120) .Height = VB6.TwipsToPixelsY(900) .Width = VB6.TwipsToPixelsX(950) : End With CurrForm.Picture1.Visible = True CurrForm.Picture2.Visible = True With CurrForm.cmdClose .Left = VB6.TwipsToPixelsX(7000) .Top = VB6.TwipsToPixelsY(9000) .Height = VB6.TwipsToPixelsY(615) .Width = VB6.TwipsToPixelsX(615) : End With With CurrForm.Label1 .height = 1000 .Width = 12000 .Label1.Font = "Tahoma" .Alignment = vbCenter .Left = 1200 .ForeColor = 777 : End With CurrForm.Label1.Caption = GlobalCompanyName CurrForm.Label1.Caption End Sub
  3. not an option I have this system in seven factorys all with their own individual settings, server name etc Currently it is in VB6 and I can create the EXE without running the program. Is there no way to create an exe without running the program in VB.NET JR
  4. Great Answers Cheers all who answered, good honest no nonsence stuff. Thanks again JR
  5. Stack Overflow Cant see your code but normally this is because you have used up all available memory. Try releasing variables between the recursive calls JR
  6. HTM Can you not use the Browser Control? Its made specifically for HTML JR
  7. Hi all a small problem I have a working program on site my connection string includes the servername etc which I don't have access to so in order to create an EXE I have to run the program which crashes as it can't find the Server How do I get around creating an exe without running the program. :confused:
  8. try using the format FORM1.TXTBOX.VALUE=FORM2.TXTBOX.VALUE a GLOBAL variable would usually suffice but bill does'nt like these any more. Don't know why
  9. Listbox will anybody really scroll through the list box for 13000 items Why not use an index ie letters A-Z across the top and then show only items matching the letter chosen. :-\
  10. Hi All I have asked this before and got the grunted answer, "Thats the way it is now, get used to it". Anyway my problem I Cannot program without global variables I keep a lot of information global ie. Printer Names and locations. User login names Server Names Database Names Etc Etc It would mean for every form I have I must supply all this global information again. Is this correct. I thought .NET was an improvment on VB6. so far I cant see it, everything gets so complicated and long winded with tons of code. Hardly 4th generation stuff. Any help or suggestions appreciated. Cheers JR
  11. Confused Wow, this is only a section of code after the wizard, these are all objects on my form, do I have to do this, set this string for every object, I cant believe that is the case, I thougt this was a new generation language, this seems to have gone back twenty years, where are all the librarys and dll's gone, I don't think I can be this kind of programmer, please tell me this is not NORMAL UGLY CODE ?????????????????????? Me.cmddesc = New System.Windows.Forms.Button Me.Command8 = New System.Windows.Forms.Button Me.cmdLive = New System.Windows.Forms.Button Me.Command6 = New System.Windows.Forms.Button Me.cmdReports = New System.Windows.Forms.Button Me.Command5 = New System.Windows.Forms.Button Me.Command4 = New System.Windows.Forms.Button Me.Command3 = New System.Windows.Forms.Button Me.Command2 = New System.Windows.Forms.Button Me.Command1 = New System.Windows.Forms.Button Me.Picture2 = New System.Windows.Forms.PictureBox Me.Picture1 = New System.Windows.Forms.PictureBox Me.CmdClose = New System.Windows.Forms.Button Me.cmdPayment = New System.Windows.Forms.Button Me.cmdLedger = New System.Windows.Forms.Button Me.cmdBackup = New System.Windows.Forms.Button Me.cmdResults = New System.Windows.Forms.Button Me.cmdLairage = New System.Windows.Forms.Button Me.Label14 = New System.Windows.Forms.Label Me.Label13 = New System.Windows.Forms.Label Me.Label4 = New System.Windows.Forms.Label Me.Label10 = New System.Windows.Forms.Label Me.Label12 = New System.Windows.Forms.Label Me.Label8 = New System.Windows.Forms.Label Me.Label6 = New System.Windows.Forms.Label Me.Label5 = New System.Windows.Forms.Label Me.Label3 = New System.Windows.Forms.Label Me.Label2 = New System.Windows.Forms.Label Me.Label20 = New System.Windows.Forms.Label Me.Label17 = New System.Windows.Forms.Label Me.Label11 = New System.Windows.Forms.Label Me.Label9 = New System.Windows.Forms.Label Me.Label7 = New System.Windows.Forms.Label Me.Label1 = New System.Windows.Forms.Label
  12. Hi Nersus I think you have helped me before, thanks a lot, any way it seems that the wizard does'nt work, , my project is huge and I don't think I could be bothered to rewrite the whole lot, is .net that different, I am sick. I love VB6 why should it be so difficult, are you using .net a lot, is it worth the effort to re-learn and re-write, i am very confused and dispondant. Can you offer any advice, pros and cons of vb6 versus .net, I just dont think I could begin to re-learn a whole new environment. Cheers and thanks a lot James Anthony
  13. Can someone please tell me where in vb.net is the startup properties, ie form to load, version no etc. Why was it necessary to move it. cheers James anthony
  14. Symbols ? ? ?? ? ? ?? ? ? ?? ? ? ? What and where and how do I load SYMBOLS. I have converted from VB6(Beautiful program) To VB.NEt(Piece of crap) and it is telling me to load SYMBOLS, Please tell me what they are and how to load I don't want any smart answers If it seems easy to you its only because you've done it before. Please Help JamesAnthony
  15. Hi I am having great difficulty in learning .Net as I am proficient with VB. Most of my programs don't require the internet and are locally installed and maintained. I would like to hear convincing arguments that would change my mind. Cheers:confused:
×
×
  • Create New...