| System Info & Framework Version (2 replies) |
| microsoft.public.dotnet.languages.vb |
| You all know the "System Info" Button on the About Screen. How do I get to show the system info in a VB.Net app. I also want to display the .net framework version on hte same screen Any body knows how? MS team this is up your street I think. Frederick |
|
| how do I spill a control outside of its parent form like a combo box? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| OK, I'm sufficiently frustrated with the built in combo box that I want to make my own with a textbox, a command button, and a list box. I have autocomplete code (thanks, Keith), but now I need to do something perhaps much more difficult. In this user control I need to be able to pop up the list box that can spill outside of its parent form if necessary. Other controls seem to be inherently limita... |
|
| Mask input to a textbox (4 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi All, Is there a simple way of masking the input of a textbox in VB.NET? Thanks, Steve |
|
| What is wrong with this case statement (6 replies) |
| microsoft.public.dotnet.languages.vb |
| If I set a breakpoint at the try statement and step thru i can see that strBtnText never gets a value and then the case statement defaults to running thru the "Add" code. If i type the following in the command window when it is in break mode. I get ? UCASE(btnUpdate.text) "UPDATE" But I watch the program jum from dim clsdb directly to the case "Add" Any Ideas. Thanks. Private Sub btnUpdate Click(B... |
|
| LSET Function not supported in .NET (2 replies) |
| microsoft.public.dotnet.languages.vb |
| This is a code example written in VB 6. I use the Lset function to convert 4 Byte representation of a single value comming from the inputbuffer of the serial interface into a VB single Datatype. The Lset Function is not more supported in VB .NET. How can i get the same functionallity in VB .NET. Private Type MyLong L1 As Long L2 As Long End Type Private Type MySingle S As Single End Type Private S... |
|
| Why does a model window appear as another task in the Task Bar? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hello: I have a MDI application. One of the menu options opens a form as a Model window. When this happens, I see two tasks on my task bar? Can somebody tell me how to correct this? Thanks. Venkat |
|
| How to get individual line in wordwrap textbox? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi all, I have a textbox control with multiline and wordwrap. I don't know how to get every individual line from the textbox. The method Lines() doesn't work as I need since it treats the whole line is one unless there is CrLf in the middle. I need this function to print remarks on multi line report. Thanks for your help! James |
|
| IsDbNull Function (5 replies) |
| microsoft.public.dotnet.languages.vb |
| Where is the IsDbNull Function located? When I try to use it I get the error message "Object variable not set." Thanks, Bob J |
|
| Orientation of the page when printing in vb.net (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I am printing some data from a listview and everything is working except that the FIRST page is printed as portait and all other as landscape as I want it to do... If I don't shut down the application and try to print again ALL pages are printing as landscape... I have right now these three lines to set the landscape: pdoc.PrinterSettings.DefaultPageSettings.Landscape True e.PageSettings.Landscape... |
|
| Converting win form elements to images. No screenshot solutions pls ! (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi Am trying to create a custom graphing component which is part of the application i am developing. The req from the user is to create a graph with checkboxes, radio buttons etc to indicate certain things on it. Have achieved it all by showing it as a windows form. Now the issue is that they want to save the chart as an image. Would there be any way how i could render the form elements as graphic... |
|
| ListView & CheckBoxes (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi there, I'm using a ListView control with CheckBoxes True. In my situation, those checkboxes are used to indicate whether the item has been "finished" and should not be modified within the listview directly by the user. What's the best way to prevent the user from modifying the (un)checked stated of a listview item without disabling the entire listview? Thanks, SLE |
|
| How do I insert into a SQLDatabase? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I need to copy data from an Access database to a SQLServer database. I've made sure they have exactly the same fields. I have a dataset with all the data from the Access table and now I have to copy this into the SQL Server table. I've tried copying it to another dataset which I want to copy into the SQL server table ... like this: I've tried this... DsSQL.Merge( DsAccess) SqlAdapter.Update( D... |
|
| To all Vb.Net proffessinal programmers,how Can I use win32 API to do this? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi every body: In Vb.Net,How can I use Win32 API to declare the Internet Explorer window and read the URL from the address bar ComboBox,what Lib I have to use to do this? any help will be appreciated regard's Husam |
|
| How to get current function, sub or event name programmatically? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I use VB.NET I have to record name of each code module I visit. To make it generic, I would like to retrieve a name of the function I'm in so I can do something like this: Private sub MainFunction() Record(NameOfTheFunction) End Sub Instead of: Private sub MainFunction() Record("MainFunction") End Sub Does anybody know how to get current function, sub or event name programmatically? Thank you. Nad... |
|
| Specified cast not valid (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi! I am trying to implement a TAPI connection to a phone device in vb.net on Win XP using TAPI 3. I have the following lines of code: Dim objAddress As ITAddress Dim objITTerminalSupport As ITTerminalSupport [various lines of code to load objAddress collection and iterate through to find correct device etc etc] objITTerminalSupport objAddress When I run the above line, I get the following message... |
|
| complete url? (4 replies) |
| microsoft.public.dotnet.languages.vb |
| how can i find the complete url of a file? for eg, if accessing www.something.com, it redirects to www.something.com/index.htm or something like that. how can i get the complete path with the filename? both request.AbsolutePath and request.AbsoluteUri don't do the trick any help? |
|
| ? no control aray's how would I (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi trying to go through 30 buttons as and change the test in all but one, how would I do this other then use alot of case's are if statements Sub buttons groupsboxes(ByVal omit As Integer) For x 1 To 30 if button.controlindex omit 1 then button(omit 1).text " " end if 'Next End Sub |
|
| Set order for columns displayed in a datagrid control (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I am (trying) converting an application from Access2002 to VB.net I am using the "Dataform" wizard to build a form that displays a record set in a datagrid control. How do I set the order that the fields in the recordset are displayed?? I have tried to find this out in every vb.net book that I own, and in the MS knowledge base and vb.net help; no luck (or maybe I'm just brain dead) Suggestions?? T... |
|
| How to disable the warning dialog of Outlook? (3 replies) |
| microsoft.public.dotnet.languages.vb |
| I have a standalone programe sendemails.exe coded by VB6.0 with outlook object. When I run it under outlook2002, I always got a waring dialog from outlook, ask for YES/NO to send a email. How to disable the dialog? I want to send email programmically and not want to be interpret by outlook. Thanks, experts |
|
| Unable to get correct assembly codebase when using COM+ (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I'm in a project where we are using several tiers and using COM (Enterprise Services) in .NET. In order to use config files in the COM packages we have made a wrapper class that reads an XML file placed in the packages execution path. The file is namned like BusinessServices.Dll.Config. In order to be able to get the path to the file without hardcoding it in each client we have implemented a metho... |
|
| Problems creating an object from an external library (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hello: I have a solution defined as a class library , Users, that created the User Class. I built the solution and I see that it created a DLL, Users.Dll. I created another solution of type Windows Application. I added reference to Users.Dll. I also added a reference to System.Runtime.Remoting to this solution. During design time, I am able to browse the Users object hierarchy and I am able to bui... |
|
| Strange behavior; application has a strong memory! (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hello: I have a form that is used to change the user profile. I have text fields that are bound to a dataset. Here's the formload event: Private Sub frmChangeProfile Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'foUsers.DataGrid.Tables("S User").Refresh() tbxFirstName.DataBindings.Add(New Binding("Text", foUsers.DataGrid, "S User.First Name C")) tbxLastName.... |
|
| Receiving a CStringArray (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Is there a faster way to get the entire contents of a CStringArray from a C dll than 'VB Code For i 0 to max courseArray.add(CDLL.getCourse(i)) Next 'C Code String * getCourse(int index){ return courseArray(index) } |
|
| TextChange (2 replies) |
| microsoft.public.dotnet.languages.vb |
| How i can get Old value in OnTextChanged Events ? Thank |
|
| Threading & shared methods? (8 replies) |
| microsoft.public.dotnet.languages.vb |
| Can someone please help up Are shared methods shared by all threads in a process? I believe they are which makes me wonder if there could be thread blocking problems when calling a shared method. Imagine this situation: A long running shared function that runs on a machine with multiple processors. When this method is called from separate threads, what happens? Does one thread wait for the other t... |
|