| Images used on internet (7 replies) |
| microsoft.public.dotnet.languages.vb |
| . |
|
| Want to redect to other Page as session starts (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi All My name is Wayne and I have recently moved from Delphi to VB .Net. I have a problem in my ASP.Net Web App that i just can't seem to figure out. As a new Web Session starts, i want to force the new web user that is creating the session to my login page, never mind what URL he wants to go to. Is it possible to do this check in the global.asax file as the Session OnStart event fires in it and ... |
|
| Could not access 'CDO.Message' object (4 replies) |
| microsoft.public.dotnet.languages.vb |
| Any suggestion for solving this error? |
|
| SessionID (7 replies) |
| microsoft.public.dotnet.languages.vb |
| . |
|
| Storing font info in the registry (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Is there an easy way to store fonts in the registry? Something a newb to vb.net like myself might understand? I've searched google for info and saw this question asked several times, but couldnt make heads or tails of the answers. A couple replies mentioned serialization but gave examples in C, and I don't do C :/ Darren |
|
| HELP! raising events from a custom control (4 replies) |
| microsoft.public.dotnet.languages.vb |
| hi, i have a custom control .... which inturn has a control in it , say a command button (command button is dragged and dropped on custom control screen , custom contro is not inherited by command button) and like this i also have few more windows form controls in my custom control. now if i drag and drop my custom control on any form, it will expose only those events which i have explicitly decla... |
|
| Datagrid control update (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, In VB.net which method is related strictly to any datachange in a datagrid control? I did not find any way to assign a code when the user attempts to save any changes in a datagrid control... thnxs Bandorka |
|
| Check Boxes in grid Column (4 replies) |
| microsoft.public.dotnet.languages.vb |
| This MUST be a FAQ, but I can't find it in old posts... Can you place check boxes (or other controls) in grid cells? Thanks! |
|
| Specifying Grid Col. width (2 replies) |
| microsoft.public.dotnet.languages.vb |
| This has changed a little bit since VB6.0 but I'm trying to specify the width of the columns in a datagrid. The data comes from an database. The code goes like this: Dim SQLDataTable As DataTable New DataTable() myColumn New DataColumn() myColumn.DataType System.Type.GetType "System.String") myColumn.ColumnName "COLNAME1" SQLDataTable.Columns.Add(myColumn) .... ' Repeated x times for each col. ' T... |
|
| Me.MdiParent=... does not load listview (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hello all, I have a simple form with a listview (the one from vb6) on it. I have a sub that loads the listview's items, and this sub is called from the form's OnLoad event. All this works fine, but... when I set the MdiParent property of the form to the mdi form, the listview remains empty. I'm sure the load sub gets called because I put a msgbox in there that pops up when the form loads. I hope a... |
|
| Referance to a non shared member requires an object referance... (10 replies) |
| microsoft.public.dotnet.languages.vb |
| Havent done any vb programing since VB3 so bear with me. I'm trying to get the width of the main form for some resizing code, but I cant use "Form1.width" without getting a "Referance to a non shared member requires an object referance" error. What am I doing wrong? |
|
| Access to NET! (7 replies) |
| microsoft.public.dotnet.languages.vb |
| So far its been Access front and back end but we are moving to SQL server so.... I decided to go with VB.NET rather than VB6. Yep, I realise after going through a '.NET in 21 days' book I have a lot to learn! So, can any ex Access people give me hints on how I should be doing the following in .NET: In Access 1.. Add form Unbound 2.. Edit form bound 3.. List boxes filled by generating a SQL stateme... |
|
| Threading (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I have a question about threading. I have a class that I create, pass two properties, and then run as a new thread. My questions are: Does this thread run in it's own memory space? If, while this thread is running, another thread of the same class is created, are the resources in these classes shared? Can there be possible conflicts creating two thread of the same class and running them at the sam... |
|
| getDesktopWindow (3 replies) |
| microsoft.public.dotnet.languages.vb |
| hello is there a way to get a refference to the desktopwindow, like getDesktopWindow, in vb7 ? im trying to write a code that will get the events of the operating system with no connection to a specified form or window that has to have focus in order to do it. 10x guy |
|
| Handling binary Data (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I am trying to read information from an MP3 file. Specifically the header information. The second byte has the Mpeg version, layer type and the 3rd byte has the bitrate infomation in the first for bits (I think they call that highorder?) Lets say for example the second byte is layed out as follows AAABBCCC A Mpeg Version B Layer Version C Bitrate I use a subroutine to determine the the individual ... |
|
| is this the bug of vb.net? (6 replies) |
| microsoft.public.dotnet.languages.vb |
| is this the bug of vb.net? I create 2 forms Form1, Form2 Add command1 to Form1 Add following code to command1click event Dim fm As New Form2() fm.Show() Me.Close() when I run, this app exit automatically, I can not get Form2 to load if I change code like this: Dim fm As New Form2() fm.ShowDialog() Me.Close() Form2 loaded as expected, but Form1 do not closed and Form1 can't get focus. if I close Fo... |
|
| problem implementing GetEnumerator in IDictionary interface (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I need to feed a control an object that implements IDictionary. The data I'm going to use to populate it is already ordered, so I want to save processor cycles by keeping the data in its original order instead of using an object that keeps sorting on add. I can't seem to find anything that keeps original order and does not sort that implements IDictionary so I'm considering making my own, but I'm ... |
|
| barcode scanner in USB port (4 replies) |
| microsoft.public.dotnet.languages.vb |
| I am somewhat new to VB.Net, and am searching for a way to communicate with the USB port that has a simple barcode scanner attached. The company (Symbol) has a demo version software that works well (written in C ) but it doesnt save the data, so I was hoping to write a routine in VB that I could use in an inventory program. However, I can't even get the program to recognize the port(s) on the pc. ... |
|
| Get child value from a dataview field? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I am trying to get a child value for a field from a dataview into excel with the code below but cant get the syntax correct any ideas? (expand the foreign key in my dataview ) I have tried, child.dr.item(2) with no luck i am trying to get at the description field in the child table Dim dr As DataRowView For Each dr In DataViewManpower ..Range("A8").EntireRow.Insert() ..Range("b8").FormulaR1C1 dr.I... |
|
| multiple forms (2 replies) |
| microsoft.public.dotnet.languages.vb |
| i have a project, which have multiple forms. so i need to access a AddTax method from formMain, that add taxes to a list view within formMain, within formTax, but the method doesn't do anything. ' ' declared in formMain ' Public Sub AddTax(string strType, string strDesc, string strCost) Dim lvItem As New ListViewItem lvItem.text strType lvItem.SubItems.Add(strDesc) lvItem.SubItems.Add(strCost) lvT... |
|
| Sockets in VB .Net (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I need a simple way to check if a host is "alive" before trying to execute some code against it. I was thinking about opening a TCP connection on a know port and if that succeds i would know that the remote host is switched on. Something like Dim myCon As New Net.Sockets.TcpClient() myCon..Connect("192.168.1.1",137) Is there a way to get the status of if this connection is OK without catching ... |
|
| Remoting and XmlDocument (2 replies) |
| microsoft.public.dotnet.languages.vb |
| How can I pass an XmlDocument around using remoting? I assumed native classes would behave themselves, but I keep getting Additional information: The type System.Xml.XmlDocument in Assembly System.Xml, Version 1.0.3300.0, Culture neutral, PublicKeyToken b77a5c561934e089 is not marked as serializable. when trying to pass an XmlDocument to the remote server. Any ideas? TIA |
|
| PostMessage API command (3 replies) |
| microsoft.public.dotnet.languages.vb |
| I recently posted on a problem with FindWindow. That's been solved, but now my thread is hanging on the PostMessage command. I'm attempting to send a set of single character messages to another application. Once the 'message' has been passed to the other application, a NULL is sent to tell it the string is done. Here's a code sample: Declare Ansi Function PostMessage Lib "user32" Alias "PostMessag... |
|
| Datagrid (for Windows Forms) Search Question (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, everyone. I need some help after looking through the Help documentation on Datagrids in VS.Net. I'm writing a program that uses a Datagrid and I need to search for a specific value in the Primary Key column. I'd like for the program to return the Row number at which this value is found. I've created a Dataset, "MyDataSet" with 1 table which has 2 columns and 5 rows. The first column I've set a... |
|
| Refresh a StatusBarPanel in StatusBar (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, I wrote my own MyStatusBarPanel inherited from StatusBarPanel. Now, the statusBar has a few StatusBarPanels and one of them is my custom panel MyStatusBarPanel. I overrided the OnDrawItem( ) in the statusbar and do something special for MyStatusBarPanel. I want to ask how can I refresh the content of MyStatusBarPanel only? Now I use Me.parent.Refresh( ) inside MyStatusBarPanel. I found all ... |
|