| Using a datetimepicker in a datagrid (4 replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, I have a bound datagrid that contains the following date column: Dim tcQuoteduedate As New DataGridTextBoxColumn tcQuoteduedate.MappingName "MYCustomerCustomerTQuoteDueDate" tcQuoteduedate.HeaderText "Quote Due Date" tcQuoteduedate.Width 85 tcQuoteduedate.Format "d" tcQuoteduedate.NullText "" Is there any way that I can use a datetimepicker to allow the user to select from this datetimepick... |
|
| EnumPrinters gives system.nullreferencedexception (5 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| I use the following code and can get all the correct printer information back for Printer Info 1. However, when I try the same code for Printer Info 2 or 5 I get a System.NullReferenceException. Can someone please help DllImport("winspool.drv", EntryPoint: "EnumPrintersA", SetLastError: True, CharSet: CharSet.Unicode) Private Shared Function EnumPrinters(ByVal flags As Int32, ByVal pName As String... |
|
| Main() vs. Forms startup (10 replies) |
| microsoft.public.dotnet.languages.vb |
| I've changed a small vb.net app to begin with a sub main() (as opposed to the default launching of a form. In my code, I use several references to the application object with application.productname, application.companyname, etc. These variables are all setup using the default AssemblyInfo module. All works well when form based, but if I attempt to use the sub main() statup method, I am unable to ... |
|
| Control box on MDI child form not going away (5 replies) |
| microsoft.public.dotnet.languages.vb |
| When trying to add a MDI child form to a parent, I want the child form to open maximized. I turn off the control box (Max button, Min button, etc), take off the caption of the form and everything else (I think) that I need to do. When the form opens, all of the control buttons at the top right of the child form are still there. Anyone else notice this and know a workaround? Thanks! |
|
| Recursively build a TreeView (7 replies) |
| microsoft.public.dotnet.languages.vb |
| I have spent hours reviewing/testing the TreeView object in .NET via VB. I am trying to create a treeview that is several layers deep. I built a recursive routine that navigates a parent/child hierarchy as represented in a database, then builds the treeview as the data dictates, but get caught up in identifying the current node to which a child node is being added. In other words, what's the index... |
|
| Windows Authentication through Active Directory (10 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to Pop up windows Authentication box so that user will give his userId, Password & domain name for authenticaion. After that I want to take these three info of user and make a search in Active Directory. I am abl... |
|
| Hide a column in a datagrid (7 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| I have been looking on different message boards to see how to hide a column in a datagrid. The only thing I have found is the following: RacDataSet.Tables("TableName").Columns("ColumnName").ColumnMapping MappingType.Hidden Is this correct? It doesn't seem to be working so I don't know if I am forgetting to do something. |
|
| Controls and Database Data (3 replies) |
| microsoft.public.dotnet.languages.vb |
| I am wanting to get data into a common text box control without doing any sort of "official" binding. Here is what I have: TextBox1.Text recordprocessor.nulltoalias(dsAssets.Tables("tblAssets").Rows(rCount).Item(" SerialNo")) This works pretty good, however, is there an easier way to do this? (recordprocessor is a class I wrote that takes any value and checks for null values). Seems like this is a... |
|
| Introduction of VB.Net/ASP.Net (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| (I just want to know some description or introduction to VB.Net and ASP.Net , what is the difference in coding style of both these languages, Is is platform independent. O,. Bye) From: Imran Ullah Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id RpAB4i5VHkuwWrnNBNLjwA /Id |
|
| Custom TextBox (3 replies) |
| microsoft.public.dotnet.languages.vb |
| I'm a Baby to vb.net and i want to use my own customized textbox to use in all my forms. ie.. a text box with font "erdena" and backcolor red" How can i buid a common one for my project and use it for all the forms ? |
|
| Refresh datagrid without setting datasource to nothing and initialize again (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Do anyone know how to refresh the datagrid without setting datasource to nothing and initialize the grid again? My case is that I have form consisting from two part. The upper part is a datagrid while the lower is the record detail. Once user, said selected/hightlighted row 3 for editing the detail info. Then, user click "Save". I want the datagrid to be refreshed so as to displaying the latest ch... |
|
| How to know how control is placed on a form (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| Control may be added on a form by double clicking it on the toolbox, or selecting it and then drawing on the form. Is there a parameter, a variable, a message that let me say how control has been painter before the oncreatecontrol method? thanks Andrea |
|
| Printing (3 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| If you were writing a program and needed to print from a module or class, could you? for example, to print in VB6 you just did a printer.print("my text") but now you need to pass items into the printpage event. Thanks Adam |
|
| main form render...refresh....programatically etc (3 replies) |
| microsoft.public.dotnet.languages.vb |
| I have an application that runs for many minutes. During this time if i open other applications the form becomes all white i.e it does not render or refresh the window. Is there a way (programatically) to render or refresh the main form window....... any idea on this and related issues is appreciated. Thanks |
|
| internet connection (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I have a question about internet connection. I have my application running in WindowsXP pro. How can I make my application raise a messagebox when the internet connection goes down? Please help me out. Thanks ! Fei |
|
| Checking to see if a file is open? (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| I need to see if a file is open. And if so close it. I'm using vb.net. I'm lost on this right now. Thanks in advance. From: Jarf Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id hR59LlecbkCADok2T/BCbg /Id |
|
| Threads & Properties (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| I'm writing a VB.NET app that controls some equipment. Some of the control functions run on separate threads. For example the temperature control object reads in the temperature value and adjusts the heater/cooler accordingly and continuously loops on its own thread doing that. The temp. control object has a property called SetPoint that can be set by another thread. My question is, do I need to l... |
|
| ANSI encoding in VB.NET (5 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| I need to use ANSI encoding in VB.NET, but can't seem to find it, can anyone help, I can only find these ASCII UTF7 UTF8 default BigEndianUnicode Unicode, and a method getEncoding(codepage as integer), Are ANSI the same as one of those, or "what to do" Richard |
|
| Splash Screen (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, is there anywhere a example build a splash screen an hide it when my database will be load in another process ? thx Rene |
|
| Detect external application exit (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I have a program that monitors a few running applications. This monitoring program does not itself start these running applications. My question is how can the monitoring program detect that a running application has been closed without doing some kind of polling? Thanks, Steve |
|
| Datagrid Column Forecolor (5 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| What is the best way to make all the text in a specific column in the datagrid appear Red? Thanks, Carl |
|
| Getting Device ID / Network name (2 replies) |
| microsoft.public.dotnet.languages.vb |
| First: Been here: http://msdn.microsoft.com/mobility/understanding/articles/default.aspx?pull /library/en us/dnnetcomp/html/retrievedeviceid.asp#retrievedeviceid topic3 and I downloaded a c# example, but it doesn't work on the 2002 or 2003 emulator. Ok, so I have 15 PDA units going into rollout, I want to be able to identify each PDA by deviceID (from the About applet in settings) Each PDA will be... |
|
| Which declaration/assignment method do you prefer? (9 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| When declaring a variable and assigning a value to it in one line, which way do you do it: Dim x As New SomeClass( parameters ) or Dim x As SomeClass New SomeClass( parameters ) Are there any functional differences between the two? |
|
| datarepeater question (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I have a quick question. I am displaying all the orders that are active. I am making use of a datarepeater with checkboxes to display data and a submit button to insert into the database. suppose i want to make the orders inactive using the checkboxes and click on the submit button should update the database. How do I capture the event such that only those check boxes that have been checked ar... |
|
| Reading System Tempeture (3 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| Hi all Does any one know of a way of reading the system's temperature from Intel boards temp sensors? I want the readings like Intel's Active Monitor (http://www.kryptos.info/screenshoots/intelam.JPG). Thanks in advance. Wayne Taylor www.kryptos.co.uk/blog |
|