big bang's Q&A profile
Windows Forms Moving to a record
I have customers form where is ComboBox. In ComboBox is list of a customers. What i want is when users selects customer from ComboBox, in customers table cursor moves to that selected customer. How to do that I'am new to VB world, is there some locate, find or some other way to move in table to a record -erva Let Say your Customer T ...Show All
SQL Server How to apply licenses and convert from Sql 2005 enterprise eval. to Standard edition
I have been testing and developing with Sql 2005 enterprise eval. Now ready to deploy, and we have purchased a "device" and 5 "cal" licenses for each box. What is the recommended procedure for applying Sql 2005 "standard" licenses to existing boxes having 2005 enterprise eval. installed I do not want to delete and re-install sql server if at all possible! Thanks! Ken Ambrose To be honest, I am not sure about licensing, its always better to speak to Microsoft. These threads might give you some idea, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2435258&SiteID=1 http://forums.mi ...Show All
Visual Basic File Open Dialog
I am trying to code to get the File Open dialog.How do I do it Can anyone post a sample code, please Try this: Using dialog As New OpenFileDialog() If dialog.ShowDialog() = DialogResult.OK Then MessageBox.Show(dialog.FileName) End If End Using ...Show All
Visual Studio Matrix unwanted rows - additional row group
I have searched the posts and I think this has not been asked. Here is the setting. Imagine a table with 4 columns: columns 1 and 2 are used to group rows, column 3 is used to group the columns and the 4th column contains the data to display as the matrix data. I am creating the matrix with dynamic rows and columns, with an additional row group. So for every unique col_1 entry there may be several col_2 entries each with its own col_4 data that is grouped keyed off the first column value. The third column is used to display the matrix data broken into months, say. I am subtotaling each row group, as well as all rows and also the columns. ...Show All
Visual Studio Express Editions stupid newbie needs help with serial port communication
Hi, I hope someone can help me... I'm trying to use visual basic 2005 to recieve data from an ooPic device which is transmitting an incremental value via the serial port... the code used to do this is described here: *********** Do variable = variable + 1 serial.string = str$(variable) Loop *********** I'm using this so i can try see if i can recieve this data using visual basic 2005 to display the value in a window when a button is clicked. I have no clue where to begin. I managed to be able to send data to the ooPic using the code below: ****************** Private Sub Send_string_Click( ByVal sender As ...Show All
Windows Forms collapsing panels...
Hi, I'm trying to make a collapsible panel control... something like in winxp. This is what I am doing: [code] timer = new Timer(); timer.Interval = 1; timer.Tick += new EventHandler(timer_Tick); ... private void timer_Tick(object sender, EventArgs e) { if (isClimbing) {   ...Show All
Smart Device Development HELP! Basic Signature Capture on a PDA for a newbie
Hi, I've been thrust back into the world of development head first and I'm trying to get my head around vb.net 2005 as the last bit of dev I did was in VB6 nearly 3 years ago. I've been asked to put together an app that will allow a user to enter data on a PDA which will then store the information on an SQL database, but, of course, they require a signature field at the end. I've searched MSDN and the web for code and examples but most seem out of date (eVB) or over complicated or costly! The best article I've found was the one posted by Ralph Arvesen on MSDN which came with a working example, however it doesn't just capture the signat ...Show All
Visual Studio 2008 (Pre-release) Intercepting the Message body
Hi I'm writing a custom channel + binding that can be inserted wherever in the channel stack. Its mainly used for checking some properties of the message body (in xml format). So far I'm working off the "Custom message interceptor sample", but there seems to be no way to read the body without changing the state of the message/invalidating it. Should I use another approach than a custom channel/binding approach What I like about it is the way you can fit it into a custom binding. So far i've tried/read about these options: 1) In the Request(), Send() etc methods of the custom channel, create 2 copies of the message wi ...Show All
Visual Studio 2008 (Pre-release) TCP Streaming is Broke in Beta 2
The release notes document for Beta 2 lists the following known issue with WCF Stream types and operations: 4.1 When Using WCF Steam Types and Operations, May Get QuotaExceededException When Using Binary Encoding When using types that derive from System.IO.Stream as input or output parameters in service operations, QuotaExceededException may be thrown if the binary encoding is being used, even though no quotas have actually been exceeded. This encoding is the default for several standard bindings, such as NetTcpBinding. To work around this problem, set the MaxBytesPerRead quota to the value 4200 (or some other number that is divi ...Show All
Visual Basic Set an environment variable
Hi, I'm looking for the possibility to set an environment variable temporarily for an application that my VB-application starts. My VB-application look like this: Dim pExtApplication As New Process pExtApplication.StartInfo.FileName = "ExtApplication" pExtApplication.StartInfo.Arguments = "--help" pExtApplication.StartInfo.UseShellExecute = False pExtApplication.StartInfo.RedirectStandardOutput = True ' something like Environment.Set("CONFIGURE_SETTING", "NO_CHECKOUT") pExtApplication.Start() Info = pExtApplication.StandardOutput.ReadLine() pExtApplication.Wai ...Show All
Visual Basic I am attempting to write my 1st DLL in Visual Basic
I am using Visual Basic 2005 Express to attempt to write my 1st DLL and keep getting an Entry Point Not Found error when go to use the DLL even though it compiles. What do I need to do to fix this problem. You need to specificy your routines like this: <ComVisible(True)> _ Public Class NetComTool <ComVisible(True)> _ Public Function Test(ByRef Input As String) As String MsgBox("You've called Test" & Input, MsgBoxStyle.OkOnly, "") &nb ...Show All
SQL Server Splitting a field
hi all i have a field which displays the full name of our customers i.e. John Smith Is there a way of creating an additional fields first name , last name and automatical splitting the field display name first name last name john smith john smith Thanks rich Hi Richie it is posible to create 2 new fields for holding the first name and the last name you can then add an After insert trigger which will update the values of those two fields according to the value of the display name field try customizing this update Update Names Set first_Name = substring(DisplayName,1,CH ...Show All
Windows Forms Windows Forms in VB 6.0
Hi, Is there any success stories in implementing Windows Forms inside VB6.0 MDI Form Is there anyway to fake the appearence atleast. Thanks, Raghu Raghavendra RAV wrote: Hi Siva, I am able to get my .NET Winform in VB6. But the thing is I am not able to make it as a MDI child of a VB6 MDI form. This is where I am stuck up. Thanks, Raghu Haven't used Vb since Vb4, so what I am saying may not be totally accurate. But I don't think you can directly make a Form an MDI child. You'd have to create it inside a normal MDI child VB form as a child control that resizes to fit its parent (the VB6 mdi child). ...Show All
SQL Server Native Client connection to MSSQL 2000
For MARS support in SQL Server 2005, I'm changing our OLE DB code to use Native Client. My understanding is that Native Client should support SQL Server 2000 as well. When I point my DBPROP_INIT_DATASOURCE to a 2005 instance, everything works great. But when I point to a 2000 instance, the IDBInitialize->Initialize() call is crashing with a bounds violation. In my test case, the only change I made was in my coCreateInstance from this: ::CoCreateInstance(DBIO_CLSID_SQLOLEDB, NULL, CLSCTX_INPROC_SERVER, IID_IDBInitialize, ( void **)&m_handles.pIDBInitialize); to this: ::CoCreateInstance(CLSID_SQLNCLI, NULL, CLSCTX_I ...Show All
Windows Forms DoubleClick event effect on all controls
Hi there I'm beginner and my problem is i want to make "DoubleClick" event effect on all controls like ContextMenuStrip you can see it's handle all the controls so is there any solution for this this is my code Private Sub Form1_DoubleClick( ByVal sender As Object , ByVal e As System.EventArgs) Handles _ Me .DoubleClick, FlowLayoutPanel1.DoubleClick, CpuGroupBox.DoubleClick, _ CpuGraphPanel.DoubleClick, CpuLabel.DoubleClick, _ RamGroupBox.DoubleClick, _ Label1.DoubleClick, TotalMemLabel.DoubleClick, Label2.DoubleClick, MemLabel.DoubleClick, _ TabControl1.DoubleClick, Time.DoubleClick, UpTime.DoubleClick, Label4 ...Show All
