radioman's Q&A profile
SQL Server Stored proc & transaction log size problems!!!!!
For some reason, my stored procedure which is kicked off by VB.NET is growing the log file for the database in question by gigs, very fast. Why is it doing this The code: Sub Main() objConn.Open() Dim cmdSql As New SqlClient.SqlCommand("IT_sss_Collector_D otNet", objConn) cmdSql.CommandType = CommandType.StoredProcedure cmdSql.CommandTimeout = 1000 Dim reader As SqlDataReader = cmdSql.ExecuteReader() Dim ppa_rowcou ...Show All
.NET Development How an assembly in VB can use in Visual C#
Hi Buddies, Can any one please help me understand to how an assembly in VB can use in Visual C# also, how CLR converts in to native code. Please help. Regards, Vinu.P.K c# crack wrote: Can any one please help me understand to how an assembly in VB can use in Visual C# Because they all compile to the same intermediate langugage (IL) and metadata. The original source ...Show All
Windows Forms Form Size
Hi, I have a quick question, how can set form's properties so that when it loads, it width and height are set to width and height to maximum Thanks Thanks, actually I am very new to windows forms apps, I had a problem setting the tab height and width in the code. The issue is resolved. Thanks ...Show All
SQL Server Database with empty name
I somehow managed to get a database object with an empty name into one of my instances of SQL Server. I can't delete it or otherwise work with it (I've tried renaming it so I could delete it) without getting an error message because of the empty name. I've tried these things (as well as a "Drop Database" query with no name, which I didn't expect to work and it didn't) from both the SQL 2000 and 2005 environments. Has anyone come across ...Show All
Windows Forms 'Back' Button gets disabled on the Installation Folder dialog
I have a Windows Installer Setup project as part of my VS2005 solution, and it includes the 'Select Installation Folder' dialog. Using the User Interface Editor in the VS2005 IDE, I added a new dialog that has a check-box, and positioned this new dialog after the Installation Folder dialog. When I do this, the 'Back' button on the Installation Folder dialog gets disabled when I run the install. This button was enabled before, and it ...Show All
Visual C# opening a .txt document
How can I open a .txt document (with notepad or wordpad) from within Visual C# program What reference(s) do I add to do this And what code Thanx using this code: Process newProcess = new Process(); newProcess.StartInfo.FileName = "notepad.exe"; newProcess.StartInfo.Arguments = @"c:\test.txt"; newProcess.Start(); How would you go about setting it so that the program that starts the process do ...Show All
Visual Studio MS Dev 2005 FindToolWindow crashes with mysterious error
I have code that instantiates a ToolWindow in the new (presumably preferred) way: ToolWindowPane window = this .FindToolWindow( typeof ( MyToolWindow ), 0, true ); I have a default CTOR in my tool window that looks like: public MyToolWindow(): base ( null ) { InitializeComponent(); } I can step through the CTOR with no problem, but as soon as I step out, I get the following exception (before FindToolWindow finishe ...Show All
Visual Basic DataTable and MDI form problems in VB.Net 2003
Hi all, I will be really happy if someone could help me with a problem that has been causing me heartache for about a year. From an MDI parent I want to directly access the contents of a DataTable that is in an MDI child that is only singled out by its caption text. In the parent I figure out which MDI child I want by counting over Me.MdiChildren.Length while comparing its Text with the caption I am looking for. I then find the Ja ...Show All
Windows Forms Change Windows Class Name
Is there a way to override the forms default window class name .. (WindowsForms10.Window.8.....) I tried to override CreateParams but got an exception System.ComponentModel.Win32Exception "Invalid window class name" Can someone please help as my app needs to be  ...Show All
Visual C# How to run a syntax inside a string?
Any advice on this string method1="DoCopy(stdArray, resultArray)" Is there anyway to run what is instructed in the string method1 Run[method1] Thanks if you want to run external application use Process.Start Method http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.start.aspx If you want ot execute code in such way I highly recommend you to NOT use such approach as this will make application d ...Show All
Visual Studio Tools for Office Word object created in suspended thread won't close...
Hi, I have a Word object wrapped in a class which is created within a threaded method. The class has a Dispose method which cleans up all the Word stuff nicely, and works perfectly 99% of the time. The problem I have is if the user quits the application when the Word object has a document open and the thread is in a suspended state, Word is not destroyed and my application just hangs (it looks like it has closed, but it is still in memor ...Show All
Visual Studio Express Editions assetion faileed
been using kazaa for long time, windows autamatically upgraded and now assertion failed, tried uninstalling both microsoft visuall c++ studio and kazaa, downloaded express version of c++ visuall studios and redownloaded kazaa. still get same assertion failed. program: c:\program files\kazaa\kazaa.exe, file: esctype.c, line 68, expression: (unsigned)(c+1)<= 256. completely lost in visuall c++ studio, pretty smart but construction worker not co ...Show All
Visual Studio Team System Webtest
In visual studios, if I click on test -> administer test control, when I run my load test I can add the results into the LoadTest database. How do I accomplish the same thing but using the command line It is here: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\EnterpriseTools\QualityTools\Controller But the connection string is encrypted, so you need to use VS to set th ...Show All
Windows Forms Textbox Focus issue
In VB.NET, 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 animalashton ...Show All
Visual C# how to point to a set of parameters using delegate
Hello, I wonder if it's possible to point to a set of parameters or values when calling a function with a delegate. I have 2 forms and I pass delegate to call functions from form1. lets say on form2 i have: public delegate bool CallFuncDelegate(); private int generalX, general Y; public bool Call(delegate, int a, int b) { generalX = a; generalY = b; invoke(); } public bool Func1() { int localX = generalX; int localY = generalY; .... } public ...Show All
