microsoft.public.dotnet.languages.vb Archive - May 2004
Post a message to this list
Messages
Page: 1234567891011121314151617181920
2122232425262728293031323334353637383940
41
F1 Thru F12 (3 replies, VIP)
microsoft.public.dotnet.languages.vb
Greetings All.. My boss want me to add code in a form that disables most, if not all function keys on the keyboard.... Im at a lose on how to do it.... any help is appreciated s
VB .NET - Help Me pls (6 replies, VIP)
microsoft.public.dotnet.languages.vb
(Type your message here) Hi guys, im trying to load a swish movie in vb .net but i need to put a transparent background to the movie, some ideas???? thanks From: Isilio Peluffo Posted by a user from .NET 247 (http://www.dotnet247.com/) Id 3JUNTpA5qUyruaoeHgPaLQ /Id
Timestamp (3 replies, VIP)
microsoft.public.dotnet.languages.vb
How do you get the actual value of a timestamp from a SQL Server 2000 database table using VB.Net? I want to use it in the Where clause, but the value returned is "System.Byte[]". Here is my code: 'Assume I've pulled these fields from table (TS is timestamp) Select EmpID, FirstName, LastName, TS From Employees Private mintEmpID As Integer Private mstrFN As String Private mstrLN As String 'I'm usin...
newbie help with dbGrid (2 replies)
microsoft.public.dotnet.languages.vb
Heres my prob. using VS 6.0 sp6 acess 2000 I have a form that will list a customers info from a single table(the customers table). I would like to use a dbGrid to list (work orders from the work order table) all of the vehicles worked on for that customer. Each customer has a Unique ID as well as each work order has a unique ID. So as I go thru each customer using a data control the dbGrid shows a...
Multiple Criteria in SQL setup problem with parameter order. (4 replies)
microsoft.public.dotnet.languages.vb
I have the following problem: I have created the following SQL for my app. With the below shown code (Example 1) I am able to retrieve the records I need into dataset dsFind. Now however I want to do another search as in Example 2, this doesnt work and I get no records. However if I switch around the order of the parameters as seen in Example 3 I get my records after EfterNavn. This makes it diffi...
Programming the VS .NET Command Prompt (7 replies, VIP)
microsoft.public.dotnet.languages.vb
Is it possible to program the use of the VS .NET Command Prompt? http://www.standards.com/; See Howard Kaikow's web site.
DCOM Example (4 replies)
microsoft.public.dotnet.languages.vb
Hello, does anybody know a little DCOM example or tutorial in VB.Net which runs on two seperate machines to simulate the network communication. I couldnt find any useful samples in the web but we have to develop a dcom component and i dont know the steps necessary to connect over the wire. thank you Andreas
Using Enum (8 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi , I have 2 Questions About Using Enum 1) i have the following Enum under my class but if i need to use it i must use it like this ConstantsFileSystem.CREATE FILE how can i use it just by the const name by doing like this CREATE FILE Public Enum ConstantsFileSystem CREATE FILE 0 APPEND FILE 1 OVERWRITE FILE 2 End Enum 2) is it good to use Enum for public params which i need to use all over my As...
Typed dataset and the grid control (3 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi All, I have a typed data set that I that two tables joined in a one to many relationship. I have added the relationship to the dataset schema and all seems to be working well. The parent table is displayed in a datagrid. However, since a realtionship exists the datagrid insists on showing the ' ' sign against each row of the grid to allow the user to navigate the the child record. Is there any ...
About Events in datagrid! (3 replies)
microsoft.public.dotnet.languages.vb
I have used a TableStyle to add a ComboBox column in a cell in a datagrid. Now I need to catch the SelectedIndexChanged from the datagrid cell... but I have no clue at all on how to do this! /Lars
Tables with relations in a Dataset? (6 replies, VIP)
microsoft.public.dotnet.languages.vb
I have a VB.NET application based on MS access 2000 db. I have a 1 to many relation between 4 tables... tbl1 tbl2 tbl3 tbl4 (all with "one to many" relations) I need to create a Dataset that includes all these tables and keeps the realtion When I use an OLEdb Adapter and generate a dataset (in VS) based on that I get all the tables' columns in one long dataset and the relations are all gone. How d...
Got a nagging listbox questions (5 replies, VIP)
microsoft.public.dotnet.languages.vb
I have tried everything I know, looked every where, and I still cannot figure out this: You see, I have a color stored in the registry and it shows up as say Color [red] and I cannot get that color out as Color.Red so that I can put it in a variable to be assigned to a label.backcolor The registry getvalue code I use is as folllows: PanelColors Microsoft.Win32.Registry.CurrentUser.OpenSubKey("My A...
How set the location of MDI child window... (6 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi, When MDI child window is initially shown it is displayed at the location determined by the windows this is OK. But once the child is hidden using hide() method and showing it again it displays at another/some times the same location. My concern is once the child window is displayed it displays at the location determined by windows and I moved it to a different location and hidden. after this t...
Update changes (2 replies, VIP)
microsoft.public.dotnet.languages.vb
I have this example: Dim myConn As New SqlConnection(myConnection) Dim myDataAdapter As New SqlDataAdapter() myDataAdapter.SelectCommand New SqlCommand(mySelectQuery, myConn) Dim cb As SqlCommandBuilder New SqlCommandBuilder(myDataAdapter) myConn.Open() Dim ds As DataSet New DataSet myDataAdapter.Fill(ds, myTableName) ' Code to modify data in DataSet here myDataAdapter.Update(ds, myTableName) myCo...
Deactivate all MDI child forms (2 replies, VIP)
microsoft.public.dotnet.languages.vb
By default it seems that there always must be an active MDI child form. But, I want to deactivate all of the MDI child forms when the user clicks on a control that is owned by the MDI parent. This is similar to how the MDI child forms in Visual Studio are deactivated when a docking window is selected. Is there any way to do this? I tried Me.ActivateMdiChild(Nothing) but that doesn't work. Thank yo...
Debugging code.... (6 replies)
microsoft.public.dotnet.languages.vb
I have an app which has intermittent pauses menus stop working, etc for a second or two at a time. Short of purchasing a profiler (expensive) is there a way of viewing which method/function my code is in at any given time *live* while it is running? I realize this might be a little slower yet, and I don't want to have to embed anything into the heads and tails of every function.
Application configuration (5 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi, How I can create an configuration file for showing the app.exe where the DLL files located. I do not what to add my DLL to the assembly or copy them to the same location with EXE file. Thanks
Forms question (3 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi all, I have just started using VB.Net 2003 and I am having problems setting property's of a form. Below is a simplified explanation of what my problem is. I have 2 forms (FormA and FormB). FormA opens a new instance of FormB (dim frmB as New FormB, frmB.Show). How can I make FormB set a property on FormA. I can make FormA set property's on FormB because it created the instance of FormB, but I a...
Automatically generating Update and Delete commands (2 replies)
microsoft.public.dotnet.languages.vb
Hi All, is there a limit to the size of an update or delete command that a data adapter will automatically create. I have just added another varchar field to my table and when I attempt to now add the modified data adapter to my form the wizard informs me that it can not generate the code for the update and delete commands. If I remove the newly added field and attempt to add the new data adapter ...
send report by email (4 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi, I've a crystal reports Report, Is it possible to send it by email? how? Thanks
Most accurate timing in VB .NET? (10 replies, VIP)
microsoft.public.dotnet.languages.vb
In VB, I've developed the habit of using the API QueryPerformanceCounter to achieve the most accurate timings. In VB .NET, one can use TotalMilliseconds and Ticks to convert time to milliseconds. Is this as accurate as using the QueryPerformanceCounter? What is the resolution of Now in VB .NET? For example: Dim datEnd As Date Dim datStart As Date datStart Now ' Do stuff here datEnd Now MsgBox((dat...
explorer like controls (3 replies, VIP)
microsoft.public.dotnet.languages.vb
Hello, where can I find the explorer like treeview (left) and fileview (right) for browsing for files? I've found something similar drivelistbox, dirlistbox, filelistbox but that isn't a very fancy layout. Thanks
COnversion or Pointer (4 replies, VIP)
microsoft.public.dotnet.languages.vb
Hi.. Can Anyone tell me the Vb .Net equivalent code of C# code : (Intptr)HTcpation where IntPtr is system structure and HTCAption is Integer type const. What will be return value Sumit
Printdocument hadmorepages (4 replies, VIP)
microsoft.public.dotnet.languages.vb
Hallo, i'm having troubles by printing on more pages. I have a counter in the PrintDocument1 PrintPage(..) and i would like to start a new page every 3 counts. If tried it this way: If (i 1) Mod 3 0 Then e.HasMorePages True End If Part of my code: Private Sub PrintDocument1 PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Try...
Default Access Key Behavior (5 replies, VIP)
microsoft.public.dotnet.languages.vb
I've been reading the Microsoft Press book "Visual Basic .NET Step by Step" (Michael Halvorson). I've noticed something about menu items while reading chapter 4 that I didn't know before. Please try this: 1 Create a new Windows Application 2 Add a MainMenu component and then a single top level menu and two menu items under it. Mine looked like this: Whatever Top Level menu item A Menu Item First s...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com