Carl Tribble's Q&A profile
Visual C# Where do I find information on the ^ operator in regards to its use in "stream^ stream"
public : DeflateStream ( Stream ^ stream, CompressionMode mode, bool leaveOpen ) I know it isn't an XOR. But searching through the language ref I can't fine it easily. Thanks for any help. jonnic This is the C# forum, are you using C# or C++ I ask because I believe that the ^ is used to denote a managed 'pointer'. I don't think it's used in C#. ...Show All
Visual Basic Cannot update table
Hi, When using the code Try Me .Validate() Me .CustomersBindingSource.EndEdit() Me .CustomersTableAdapter.Update( Me .NorthwindDataSet.Customers) MsgBox("Update successful") Catch ex As Exception MsgBox("Update failed") End Try in the walkthrough given in http://msdn2.microsoft.com/en-us/library/0f92s97z.aspx , changes were not saved to the NORTHWND.MDF file in the project folder or bin folder (not updated) . Does any one know why Thanks. perhaps you're updating the version ...Show All
Visual C++ Can't figure out how to make a Win32 App. project in Visual C++ Express Eddition Beta
Hi. I just downloaded Visual C++ Express Eddition Beta last night and can't figure out how to make a Win32 Application Project (it doesn't appear to be in the Visual Studio Installed Templates). I have a few questions: 1. How do I make a Win32 Application Project 2. How do I add a File to a project 3. What folder should I save all my projects, files, etc. in 4. Are these questions in the right forum Thanks for the help. For the 3 things you need: create Win32 project wizard, include proper include files, and include proper libraries just follow the directions here: http://blog.kalmbachnet.de/ &nbs ...Show All
Visual Basic unspecified error
I donno why but whenever i try to pass parameters to the procedure iam calling its giving me an error saying -2147467259 - unspecified error Can anyone tell me what this means The error is when i try to pass parameters oComm.Parameters(0).Value = uHeaderInfo.sProjNumber thanks for the reply cgraus the problem is its giving the same error to all values that iam passing. even in the next module when iam trying to pass the parameters to another procedure. its saying the same. sriksdave ...Show All
Windows Forms My computer loads slow from the splash screen
My computer loads slow from the splash screen and applications occasionally freeze. When the computer loads from the splash screen the splash screen flickers. ( Could this be hardware problem I was told that my video card could cause boot problems also.Could this be a virus or malware issue )I'm running XP Home. I ran Norton Anti-virus and Stinger a ...Show All
Windows Forms Binding a combo box to a data set
Hi, I am trying to just list some columns in my dataset by binding it to a combo box in windows form application. I can easily do that in a web application. But really doesn't seem to work as a windows form application. Label1 and label3 lists the values in my dataset. But label2 displays it as a DataRowView object. Could any one p ...Show All
SQL Server Filter parameter based on prior parameter
Hi guys, i have some report parameters that are dropdowns, and i would like to use whatever is selected in them to filter subsequent dropdowns. I know that the report designer automatically makes parameters dependant on each other, but that has been stripped out of the rdl, i need to replace it with more targeted filtering. So assuming that parameter A and parameter B get their values from a dataset, how can i filter parameter B's contents based on parameter A I am quite happy to tweak the rdl if that is what is required. Thanks, sluggy Hi Sluggy, Not sure if I've got the best answer - but I h ...Show All
Windows Forms ComboBox within a ListView
Hi, I was wondering if anyone knows if it's possible to add a ComboBox as a ListViewItem. I tried to do this, and as I expected it through an error. I seem to remember coming across a custom control that had this functionality, but can't seem to find it. Thanks for any suggestions Jeff ...Show All
Visual Studio Design-time Reflection
I have created several type editors that require design-time reflection in order to accomplish their tasks. Using methods from the System.Reflection namespace works perfectly until the code is changed thereby modifying the type. After the code change, I have to rebuild the solution and restart Visual Studio before the reflection is up-to-date again. I know there must be a way to gether reflection information at design-time (intellisense doesn't require you to rebuild and restart VS before it can be used). I've downloaded the October VSIP SDK and have been trying to gain access to the VsObjectModel, but I cannot seem to enu ...Show All
Windows Forms TextBox selection issue
When text is entered into a read-only, scrollable, multi-line TextBox, the focus of the TextBox stays at the top. Even if I scroll to the bottom,it goes back to the top of the box when new text is entered. How can i make the focus of the TextBox stay with the bottom-most text I had to chang to a RichTextBox and ...Show All
Visual Studio Express Editions uneccesary blank spaces in values of database tables?
Hello, I made this table in a database... Then when I want to edit it, I click once on it with my left mouse button... Then it seems to add uneccesary blank spaces.... Then when I delete the blank spaces, they never appear again... Does anyone know what's happening This also happens not only in the table editor but also in the IDE... Thank You! Keehun Nam Hi, What's the type of your text field If its nvarchar it adds spaces to fill-up the length that you specified. eg: nvarchar(10) paul = 'paul ' Try making your field into a varchar. cheers, Paul June A. Domag ...Show All
.NET Development VS 2003 compiled application not running properly in framework 2.0
Hi, We are having one .net windows service compiled in vs 2003, we are running above stated service on framework 2.0. we are facing following problem. The physical environment as follows. The application is a Windows Service and is compiled in VS2003 and runs on dotNET Framework 2.0. It runs on a 2 porcessor HP Server ML350 with 2GB of RAM. We are facing the following problem: for some days application is running properly after then the CPU Load goes to 100% and the system hangs, at the same time the %Time in Garbage Collect is continuous at some 65% and it seems that nothing gets garbage collected because the private b ...Show All
.NET Development DataGridRow to DataSet.Table.Row conversion?
Hi There, I am trying something real simple. Copy the current datagrid row into a NEW dataset.table.row i.e. create a simple "add a copy" of a selected datagrid row into the datagrid. However I get the following problem when trying to get the data from a dataGridViewRow to a dataset.table.row: Error 1 Value of type 'System.Windows.Forms.DataGridViewRow' cannot be converted to 'DataSet.TableRow'. Finally, does a " Me .TS1DataSet.Table.Rows.Add(newRow)" automatically handle the creation of a unique primary key (even if the data in newRow contains a TableID) Thanks again. Yes this is really a ...Show All
Visual Basic Download files from lists
HI all, I coded a program that can download file from the lists, but i seem that I run slowly and did not show timer and wait function. pls hlp me out in details. Here are the codes: Dim i, start1, start2 As Integer Dim extract1, extract2 As String 'change www.yoursite.com to a web page and what you want to download. For i = 0 To total - 1 Dim wr As HttpWebRequest = CType(WebRequest.Create(txtLinks.Lines(i)), HttpWebRequest) & ...Show All
SQL Server Looking for the definitive answer: Microsoft SQL Server 2005 Express Edition x86 install failed
I installed, uninstalled, deleted, editted my registry etc and I finally goto to this error while trying to install VS2005 (released) on a Windows 2000 PC (that had Beta2 and RC1 installed & uninstalled): [11/17/05,16:46:51] Microsoft SQL Server 2005 Express Edition x86: [2] Component Microsoft SQL Server 2005 Express Edition x86 returned an unexpected value. [11/17/05,16:46:51] Microsoft SQL Server 2005 Express Edition x86: [2] Return from system messaging: The endpoint format is invalid. I did some searches this morning and hitting lots of things that don't seem to address this problem specifically. Does any one have "THE FIX" ta ...Show All
