microsoft.public.dotnet.languages.vb.upgrade Archive - July 2003
Post a message to this list
Messages
Page: 12
textwidth (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
How i can get the length of a string(in pixels) in vb.net In vb6 I used picture.textwidth("foo"). I tried to use API call to GetTextExtentPoint32() but failed getting hDc,using GetDC call. Where is a problem??
vb6 -> vb.net forms problem (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi, in vb6, I used to call form dynamicaly by name like this : load forms("nameoftheform") forms("nameoftheform").show Is there any way this is possible with vb.net ?
Printer Margins (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hallo, I am having some problems printing. The problem is that the graphics appear in the top left part of the page instead of filling out the page. I think this has something to do with margins. Can anyone see what I have done wrong? Any help would be appriciated... Nigel... Dim prset As New PrinterSettings() Dim prdialog As New PrintDialog() Dim margins As New Margins(0, 0, 0, 0) With prdoc.Defa...
TabsPerRow (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
What has happened to this property of the tab control in VB.Net? I get an upgrade issue, however this is not covered in the upgrade documentation
ActiveX Document Project (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
I have an Activex Document project (DLL) that contains many (25 ) ActiveX document pages. I know .Net 2002 did not migrate this, does the improved 2003 wizard do anything with this type of project? If not I assume my only option is to convert it to a form application (it's standalone, not on a server) and then run the wizard? (or re write it!) Thanks, Wayne
pass value entered in first form's textbox to another form's textbox (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
i have 3 forms. the 1st form contains textbox1 the 2nd form contains textbox2 i pass the value inserted from the 1st form to the 2nd form's textbox2 and the value appear. the problem is, when i go to the 3rd form n come back to the 2nd form, the textbox2 shows NOTHING again.. may i know how do i keep the value passed from the 1st form's textbox1 static in the 2nd form's textbox2 ?????
Transparency of labels (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi all, how can I get a label where the background is set to transparent actually show the picture box behind it? The label should show the red ball behind it. (VS .net 2002, have 2003 but not yet installed) Uli
Can not display pictures or icons on a form. (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
VS.NET 2003 W2K SP3 I know this seems stupid, and I wish I didn't have to ask but I must because it is getting frustrating. This problem must be me, since I can't find anything on it. Create a new project, put a PictureBox on the form and load a *.ico file. It displays in the IDE, once I run my application it displays nothing??? I tried all different types of image types (bmp, jpg, wmf, ect ect). ...
Filling a VB structure from a C DLL (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
***I have a structure as follows: StructLayout(LayoutKind.Sequential, CharSet: CharSet.Ansi, Pack: 32) Structure port param Public ser rs232 base As Integer 'Base address of port Public irq As Integer 'Interrupt number MarshalAs(UnmanagedType.ByValTStr, SizeConst: 2) Public filler01 As String 'Filler Public Baud As Integer 'Baud rate index Public Parity As Integer 'Parity index Public lngth As Int...
graphics.drawimage... (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi, I'm moving a application from Vb6 to VB.net to gain advantage of the png support for the pictures files. My problem is that i can load an image in a picturebox at run time, transfert a part of it in another picture box with the drawimage method but i can't transfer that new image to an another picturebox to be viewed by the user. This is for a tile editor, so i have to "build" a the map from a...
DTPicker in VB.Net Help (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
Cursor Placement in VB.Net Hi I am working in VB.NET building a windows based form. I have text boxes, combos and DateTimePicker {format mm/dd/yyyy}(DTP) controls. My problem is the cursor location "highlighting" on the DTP the second time around in the tab order. Example: The user enters the first product order. During the first order entry when the user tabs to the DTP the cursor highlights the ...
File Attributes? (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
I need to be able to get the attributes of a file given the file path/name. There was an API that returned a value that represented all of the flags (archive, read only, etc) that you could use to get each individual attribute. I've been trying to find ANYTHING that will return a given attribute (archive, etc) for a file so that I can set a flag (boolean variable) based on whether or not the file ...
GDI Printing problem in VB.NET (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
I'm hoping someone can help me see through what seems like it should be a simple problem. The base of this example is the basic Microsoft VB RAW printing example, updated for .NET. I've tried this in both the initial releas of VS.NET and in VS.NET 2003 with no luck. I'm trying to print a physical file RAW to a printer. In this example I use a PCL file and the default printer. It could just as easi...
VB 6 to .NET upgrade problem (exception) (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
I'm trying to upgrade a package whihc was made in VB 6 to .NET with the upgrade wizard. The wizard starts as soon as i open the package in .NET visual studio. But after asking me the path to store new files when it actually starts converting, it stops with this EXACT error : Upgrade failed: Exception occured: The referenced component ListView is missing a design time license. Anyone has any ide ab...
Popup Menus (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
I have a VB6 project (several in fact) that uses right mouse popup menus, but when I bring these into .NET, it balks, saying "'PopupMenu' is not a member of 'Project.frmMain'." Can anyone tell me how to do Popup Menus under VB.NET? Thanks, pete
Printing the contents of MSChart (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hallo, I am in the middle of converting a VB6 project into VB.NET and I have had some problems with a MSChart component. I have tried Dim bmpGraph As Bitmap mscYchart.EditCopy() 'put the chart in the clipboard bmpGraph System.Windows.Forms.Clipboard.GetDataObject.GetData (System.Windows.Forms.DataFormats.Dib) e.Graphics.DrawImage(bmpGraph, 1, 1) The problem is that no data ends up in bmpGraph. Any...
callback/marshall etc (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
Our app sends data to a 2 way radio via srmdrvr.dll. Under vb6 we didn't require a delegate. We have upgraded & the result appears below...we are getting data out but the dll appears to cause an error. e.g. : Exception EAccessViolation in module SrmDrvr.dll at 000072D2 Access violation at address 001766D6. Write of address 0000000... sometimes the write of address has a value other than zeros.. Is...
The .NET equivalent to this..... (5 replies)
microsoft.public.dotnet.languages.vb.upgrade
anyone know the the equivalent of this VB6 line is in VB.NET. The help system in .NET wasn't very helpful. Text1.LoadFile(File1.Path & "\" & File1.FileName, rtfText) Thanks Paul
Show (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
I know this is a very basic question sorry.... What is the VB.net equivalent to? form.show Thanks for any help!!!!!
CreateObject Equivalent (6 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi All I am just beginning .Net and need a little pointer quick What is the quivalent statement to create a .Net class in another unreferenced project. For example in VB (and .Net) If I want to create a COM object, I would use set nObj Createobject("MyObject.MyClass") What is the equivalent to create a .Net object eg. (although doesn't work(BUGGER)) nObj CreateDotNetObject("MyDotNetObject.MyClass"...
Suggest ! (10 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi All I've a number of Windows ActiveX Controls (e.g. like Windows Common Controls which approximately all VB6 programmers use) used in my VB6 project. Now while migrating to VB.NET, I can use the same OCX; or alternatively I can replace this with .NET Windows Forms classes. What you all Suggest ? Thanx
Drive Freespace (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
How can I get a drive's freespace in .Net similar to the old File System Object's Drive.Freespace VB6 code using File System Object drive FSO.GetDrive("D") space drive.FreeSpace
Handling System._ComObject (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi I am calling .NET components from my Classical ASPs. For this I strong named my assemblies, then registered them in the resistry ( using RegAsm), and put them in GAC (using GacUtil) . Everything worked fine and my ASPs were able to call and use them. The problem comes when my ASP code assigns an ASP object variable to a property of a class in the assembly like: oDotNetObject("Name") Request("Na...
ASP3/VB6 TO ASP.NET/VB.NET (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi, At my organisation we have various web based systems in place using ASP 3.0 for the front end but with VB6 ActiveX DLLs (installed within component services) for the business logic. I am aware that with VB.NET I can still create a dll and access it within the ASP.NET, but that it is not possible to install this dll within component services. What is the best route so that we may share code thr...
How can i do not display null on DataGrid? (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi, I'm using vb.net DataGrid control. When i load Data from DataBase into DataGrid, DataBase fields have value null then DataGrid come with null in columns. How can i do not display null on DataGrid? Thank you! Bye, Quang
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification