chris1r123's Q&A profile
.NET Development All versions of Framework?
I'm not sure which forum to post this question in ... none of them seem right. We are migrating our 1.1 WinForm app to 2.0. Our app uses a few third-party .DLL components. At least one of these is compiled under the 1.0 Framework. I have two questions, I guess. First, will an app that was compiled under 1.1 run under 2.0 I was under the impression that it would not, so I wanted to load the 2.0 runtime on a clean machine and see if t ...Show All
Visual Basic String to REG_BINARY
Does anybody know how to convert a string, containing both text and numbers to REG_BINARY I can convert to hexadecimal, but not REG_BINARY! Help! Hi Tim, You just need to feed My.Computer.Registry.SetValue with an array of bytes. eg. My.Computer.Registry.SetValue("HKEY_CURRENT_USER\MyKey", "MyVal", New Byte() {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, _ Microsoft.Win32.RegistryValueKind.Binary) ...Show All
Windows Forms Using Matrix transformations
I`m experimenting with using Matrix transformations on a GraphicsPath. I have added a rectangle to the path and want to use this path to draw several versions of the rectangle(sheared, rotated, translatet etc..). Question: Is there an easy trick to have the r ...Show All
SQL Server Report Services Question
Hi all, I wanted to be able to log on to Report Services from another computer (remotely), how can I go about doing that setup from either fresh installation or after installation Or can anyone guide me to on where am I suppose to post this question in Any help from anyone is appreciated. Thanks in advance. Daren Daren, I'm going to move your thread to the Reporting Services forum. They shou ...Show All
Visual Studio Express Editions How to Hide Blinking Cursor in the Textbox
I have a problem now hiding the blinking cursor on the textbox, how can i do this in visual basic express One way I did it was to create a gotfocus event. The cursor is only there when the control has focus. So, the Gotfocus event can always insure that a control other than the textbox has the focus. Private Sub TextBox1_GotFocus( ByVal sender As Object , ByVal e As System.EventArg ...Show All
Visual Studio Express Editions how do i use a module to return...
hi! I'm I a bit of a soup here. I'm trying to use a module to return a value from a dialogue box (not an input box), but I'm hazy over what EXACTLY I'm going to put down in code. I'm making a program that allows you to indicate a time and date in a Dialog, so when you click on OK the " System.Windows.Forms.DialogResult.OK " is returned to the Form1 window via the module. Or-if returnig a value without a module is possible then could yo ...Show All
Windows Forms Open a file that is already opened by another app in readonly mode
I have a vb.net app that imports a csv file created in Excel. Very often the users forget to close the Excel app and get the following error message in my vb app: An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll Addit ...Show All
Windows Forms Dynamically switching queries and databases
I am using VS2005 and am able to bind a complex query to a DataGridView at design time. What I ultimately want to do is: (1) Select a named query from a drop-down box then reconfigure the DataGridView for the appropriate number of columns and repopulate with the new query. (2) Select a database from a drop-down box and refresh the DataGridView with data from the new database. (Assume I have created the appropriate DataSources.) I see wh ...Show All
.NET Development C++/CLI linked with win32 dll's in C# (msvs2005)
Hi! I'm making a GUI for an engine I'm working on. The engine is separated into two win32 dll's and the GUI is supposed to be written in C#. I've decided to make the interface between C# and the engine using C++/CLI since that seems like the cleanest and best solution. So what I have is the following: EngineA.dll - the two engine dll's in win32 code EngineB.dll - * SVCore.dll - The C++/CLI interface class. Exposes functionality from the engines ...Show All
Windows Forms Listbox Display Cut Off By GroupBox Boundary.
Hi, I have a custom control that inherits from the TextBox class that adds as a child a ListBox and displays the listbox portion of the control when double clicked. Double clicking the listbox portion hides the control from the user. It works as expected until I place the control inside a GroupBox; the listbox part of my custom control does not display outside the boundary of the GroupBox that it is plac ...Show All
Windows Forms how to set color of a datagrid row (I am using .NET 1.1)
Hi, How do I set the color of individual rows of a datagrid I am using 1.1 so cant use datagridview Thanks, You will have to inherit from DataGridTextBoxColumn and override the Paint event to provide the custom formatting. Check out how to do this on MSDN: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/wnf_CustDataGrid.asp ...Show All
SQL Server Flat File and uneven number of columns
Please leave feedback for Microsoft regarding this problem at https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=126493 Ok I'm sure it just me, SSIS has been great so far....but how can you import a straight CSV file with and uneven column count. For example: (assume CR LF row delimiter) The,Quick,Brown,Fox,Jumps Hello,World This,is,a,test "Normally" I'd expect this | Col1 | | C ...Show All
SQL Server The AcquireConnection method call failed with error code 0xC0202009.
I have a SQL Server Agent job with a step to execute an SSIS package. The package has as one of it's connection managers the Connection Manager For Excel Files. When I run the job it fails every time. I have implemented logging and in the OnError event it states "The AcquireConnection method call to the connection manager "LOBMappingExcel" failed with error code 0xC0202009". Note that if I execute this package via dtexec ...Show All
Visual Studio Filtering Data
Hi to all. I created a report based on my DataSet. When I call it, I pass my BindingSource and so my data are displayed. All ok...till now. In my windows form now I have some fields to filter my bindingsource but... How can I pass filtered records to my report If I pass the BindingSource it still display ALL records... This is my portion of code that set the report's DataSource to my BindingSource: Dim RepDS As New Mic ...Show All
SQL Server SOAPException while calling ListChildren/FindItems
Hi, I get the following exception, when I try to call ListChildren() or FindItems() to search for a folder/report on the report server programmatically. System.Web.Services: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListChildren . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequ ...Show All
