| How to get the ip adress when you connected to internet? (4 replies) |
| microsoft.public.dotnet.languages.vb |
| I can get the locoal adress of my network card. But when I connect to internet by a dial up connection, I have no idea to find the ip adress that the Isp give me in my VB.net program.(I can get in vb 6.0) If somebody is familiar with vb.net here and give me some direction for that.Thanks! |
|
| Decent Docs for VB.NET (4 replies) |
| microsoft.public.dotnet.languages.vb |
| If you look at http://msdn.microsoft.com/library/default.asp?url /library/en us/cpref/html/ frlrfsystemobjectclassgettypetopic.asp you don't get the list of args and the details for them. Is there another site for vb.net documentation, or a download? Tks gents Justin Dutoit |
|
| Check the last modified date on any file (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi guys, Is there any where I can check the last modified date on any file? Thanks for the help Cracker |
|
| create an image thumbnail? (4 replies) |
| microsoft.public.dotnet.languages.vb |
| Does anyone know how I could go about doing the following: I want to read a jpg and make it smaller and save it. In other words, I want a 800x600 jpg to be saved as a half the visible size AND I want the file size to be smaller. Any suggestions as to where I could start would be great. Thanks. |
|
| shellexecute (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi! I need to open different files from vb.net program using standard shell functionality. ..net Shell function works well when I open .exe files. I tried using API function shellexecute looks like it works but no results. Has anyone faced the same? Some solutions? Thanks. |
|
| Converting between IntPtr and structure from Win API (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi All, I have a structure defined StructLayout(LayoutKind.Sequential, Pack: 1) Public Structure tagRAWINPUT Public header As tagRAWINPUTHEADER Public data As data End Structure and a DLL function Public Overloads Declare Auto Function GetRawInputData Lib "User32.dll" ( ByRef hRawInput As tagRAWINPUT, ByVal uiCommand As Integer, ByVal pNullData As Integer, ByRef pcbSize As Integer, ByVal cbSizeHea... |
|
| How to find out a current active control on a current active form? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Support I have a parent form : frmain and a child form: frmchild. There is a textbox on frmchild. After display frmchild in frmain, I select the textbox and then click on one of the file menu from frmain to check whether textbox is a current active control or not: dim ctrCurr as control ctrCurr form.activeform.activecontrol. ctrCurr always return Nothing. This is always work in VB6. What extra ste... |
|
| ShellExecute? PathCompactPath? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Anyone know if there's an equivalent function to ShellExecute (from shell32.dll) in the .Net Framework? What about PathCompactPath (from shlwapi.dll)? Roger Aikin roger aikin@nospamplease.fuse.net (Remove the 'nospamplease.' for real address.) |
|
| View thumbnails (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I want to create an application using VB.Net just like windows explorer to view thumbnails of image files in the directories. Which class should I use? Listview? I currently can't find the thumbnails view in listview. I already used treeview for the directory list, but for the image files, we want to have it in thumbnails. Is it possible? Please help. Thanks. Samuel |
|
| UserName (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Is there a non API way to get the UserName in VB.net using Sytem.Net or some other NameSpace? Thanks! |
|
| Simple question: Date data types (2 replies) |
| microsoft.public.dotnet.languages.vb |
| OK, I'm going to ask an easy one, now. I'm working on my first VB.Net project and am looking for the appropriate data types to use, especially when it comes to date data types. I see that there's a Date data type and a DateAndTime data type. What's the difference between a Date data type and DateAndTime data type? It looks to me as though the DateAndTime data type has more useful functions associa... |
|
| How can I assign an Icon from the resourcefile (2 replies) |
| microsoft.public.dotnet.languages.vb |
| How can I assign an Icon from the resourcefile to a commandbutton? This code failed: frmCollection.Item(i).Icon VB6.LoadResPicture(302, VB6.LoadResConstants.ResIcon) Is there another way to make this without the VB6 class? Thanks |
|
| What is VB.NET anyway? (8 replies) |
| microsoft.public.dotnet.languages.vb |
| I've been trying to develop programs in VB.NET without using the Microsoft.Visualbasic namespace. Somehow I got the idea that this was better or purer or faster or something. Is it? I've had an awful time trying to find the pure dot net equivalent of some vb functions. Is it worth my time? Joe Griffith jgriffit@pensoft.com *** Sent via Developersdex http://www.developersdex.com *** Don't just part... |
|
| Redim array quirk (5 replies) |
| microsoft.public.dotnet.languages.vb |
| At http://www5.ewebcity.com/justindutoit/DotNET/jsrs source.htm is source code which attempts to build an array and pass it to a method thru invokemember. The aim is to pass an array to a function which redims it and returns the complete array of whatever length. The array is then used as an arg to the invokemember line. It chokes on this array, though it seems the length and contents are fine. It... |
|
| oop question about shared methods (2 replies) |
| microsoft.public.dotnet.languages.vb |
| If I have a dll project with a class that has a shared property, and that property or method creates a dataset or some other large object, and stores it in a private, module level variable, when does the class' private variable get released or destoyed? I'm wondering because by using a shared property, I won't have to create and dispose of objects manually, so how do they get disposed of? |
|
| Inheritance Problem... (21 replies) |
| microsoft.public.dotnet.languages.vb |
| I have created a class A in one project A Class B in project B inherits Class A, Project B references Project A. Class C in Project C. Project C references Project B. instansiates an object of type B and tries to set a property in B that was inheritied from A. VB tells me that it cannot access the Property because it is Declared in Project A.DLL whic is not referenced. Is this correct? Surely all ... |
|
| How to cast an array (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Is there an elegant way to cast all members of an array. Let say all items implements the interface IMyInterface and I want to convert my array from an array of Objects to an array of IMyInterface. Is there a way without looping everytime the whole array ? Thanks |
|
| Make file writeable (3 replies) |
| microsoft.public.dotnet.languages.vb |
| I am doing file access work and would like to be able to programmatically make the file writeable. At the moment when I try to write to a Read Only file I get an error so I would like to be able to make the file writeable and still open the file. I am using the command Open "my file.txt" For Input As filenumber Can anyone help please. J. |
|
| create a new file in VB.NET? (6 replies) |
| microsoft.public.dotnet.languages.vb |
| I'm attempting to create a file called "test.htm". The following won't work because it is looking for a file of that name that already exists. Does anyone know how I can create a NEW file called test.htm, and then write to it (basically just dump the contents of a string into it)? Thanks Here's what I've been trying... FileOpen(1, "C:\mark photos\test.htm", OpenMode.Input) Print(1, sHTMLFile) File... |
|
| Datasource control in VB.NET? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Coming primarily from a background in Access 2000/XP, I need to find a datasource control and a navigation control to use within a VB.NET application, but I cannot seem to find anything appropriate. Anyone have any suggestions? TIA, Wade |
|
| find a row in a dataset (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, I am trying to find a row in a dataset and get the rows Index so I can do a me.bindingContext(dataset).position (INDEX) I have found the following sample from Microsoft but it is not bound and creates a new datarow which does not help. Dim n As String "primaryKeyValue to be found" Dim rowFoundRow as DataRow anyTable.Rows.Find(n) If Not (rowFoundRow Is Nothing) Then MessageBox.Show(CType(row... |
|
| what happened to dir list and file list? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Is there a way to duplicate these old vb6 controls? I want the user to be able to browse and point to a directory (not a specific file, so I'm note sure that OpenFileDialog would apply here). Any suggestions? |
|
| How do I get the ObjectContext from inside a Managed .Net Module? (3 replies) |
| microsoft.public.dotnet.languages.vb |
| I am instantiating a .Net object in ASP script. I'd like this object to be able to acquire the ASP Scripting context objects as efficiently as possible. Under VB6, I used to execute the following code statements: m IISServer GetObjectContext("Server") m IISApplication GetObjectContext("Application") m IISRequest GetObjectContext("Request") m IISResponse GetObjectContext("Response") How can I do th... |
|
| API function: How to shut-down XP ? (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi With ExitWindowsEx() it's easy to shut down Win9x. But on XP one can only log off with this function?! There's sample code which shows a shut down for XP? How to use InitiateSystemShutdownEx() ? TIA p |
|
| Printer Settings (3 replies) |
| microsoft.public.dotnet.languages.vb |
| hi, can anybody help me in retrieving specific printer's settings using VB its pretty easy to use printer object and set the tray options for a normal printer. but how do i set the properties which are specific to printers. currently i want to set the Media Color property of Xerox Docu Print 4634. i am not able to even retrieve the settings. can anybody help me??? |
|