
jamesanthony
Avatar/Signature-
Posts
27 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by jamesanthony
-
Hi All This use to work Me.lblVersion = "Version " & App.Major & "." & App.Minor & "." & App.Revision any ideas on what it should be now Cheers
-
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
-
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
-
Great Answers Cheers all who answered, good honest no nonsence stuff. Thanks again JR
-
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
-
HTM Can you not use the Browser Control? Its made specifically for HTML JR
-
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:
-
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
-
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. :-\
-
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
-
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
-
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
-
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
-
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
-
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:
-
To those who take programming classes in college (or have)
jamesanthony replied to wyrd's topic in Water Cooler
Training or Teaching You can't expect colleges to have the most up to date teaching on modern tech. it changes too fast. I agree that training is learning the new envoirnment and how to write code Quicker and more efficently, (Although I still prefer the ease of use of VB to VB.Net which I have a lot of diffuculty with.) Teaching teaches you to solve the problem, the method you use depends on the technology available. -
control why not set the control colour to the same as the background colour, then it looks invisible
-
OK But I was quite used to Globals. what is the singleton design pattern???
-
whats happening? when I try to run the project I get the above errors about symbols and the project aborts.
-
Are global variables not used anymore in VB.net I upgraded my project from vb and all my globals are now public?????:confused:
-
Hi Having trouble with this 'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.0.2914\mscorlib.dll', No symbols loaded. 'prjLindenProcessor': Loaded 'C:\AMPS\Linden\Traceability\Processor\prjLindenProcessor.NET\bin\prjLindenProcessor.exe', Symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.2411.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\windows\assembly\gac\system\1.0.2411.0__b77a5c561934e089\system.dll', No symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.2411.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\windows\assembly\gac\microsoft.visualbasic\7.0.0.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll', No symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\windows\assembly\gac\accessibility\1.0.2411.0__b03f5f7f11d50a3a\accessibility.dll', No symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\windows\assembly\gac\adodb\2.7.0.0__b03f5f7f11d50a3a\adodb.dll', No symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\amps\linden\traceability\processor\prjlindenprocessor.net\bin\axinterop.mscomctllib_2_0.dll', No symbols loaded. 'prjLindenProcessor.exe': Loaded 'c:\amps\linden\traceability\processor\prjlindenprocessor.net\bin\interop.mscomctllib_2_0.dll', No symbols loaded. The program '[852] prjLindenProcessor.exe' has exited with code 0 (0x0). I have gone to mic.com to upload symbols but takes eight hours is there a way around this cheers:(
-
I am posting threads but I cannot view them. I can see them when I user the UserCP button. do I need to do something specific to view my threads in the list when I log on??
-
Hi I am new to vb.net and live in Dublin I am looking for help with converting my projects, Is there anyone in Ireland who would be intereseted in helping with this upgrade. Preferably with me as I would like to learn from the upgrading etc. I could pay but probably not a full programming rate. Cheers JamesAnthony:)
-
Thanks Easy when you know Thanks a lot:D
-
Hi all I am a VB Programmer working for myself I am now converting my VB progs to .net I have stumbled throught the convertiions etc and have a program How do I create an exe and an installation program to distribute my program. Any help would be great Cheers JamesAnthony:confused: