mcjack's Q&A profile
Visual Basic VB.net 2003 application not install under .net framework 2.0
Hi everyone, I developed an application using vb.net 2003(.net framework 1.1) and build the setup package as well. It installs and runs no problem on the machines have .net framework 1.1. When I tried to install on a machine only has .net framework 2.0, it says .net framework 1.1 is needed to carry on the installation. If I install .net framework 1.1 to that machine, everything is ok. But MSDN said "the .NET Framework provides a high de ...Show All
Windows Forms Callback Delegate on UI thread?
Hi ! Ok below is the code which uses a delegate and also specify's a callback sub now the callback sub should be on UI Thread if that is true then why does the below code do not work and it also does not give any kind  ...Show All
.NET Development Error "Invalid SQL Statement; expected 'INSERT', 'DELETE', 'PROCEDURE', 'SELECT' or 'UPDATE'"
can someone please help, according to my knowledge this should work... Dim sw As StreamWriter = New StreamWriter("C:\test.doc") Dim sw2 As StreamWriter = New StreamWriter("C:\query.doc") Dim catid As String Dim reader As OleDb.OleDbDataReader Dim comm As New OleDb.OleDbCommand("SELECT * from cat where catid <> 3", conn) If conn.State = ConnectionState.Open Then ...Show All
SQL Server SQL Server 2000 Database Limitation
Hello All, I am currently consulting with a company who uses MS SQL Server 2000 standard. They currently have a software application that they lease (ASP) to clients and host on their own server. Each instance of the application requires its own database. They are currently at 1050 databases on a single database server, but anticipate increaseing their client base to about 5000. To date their administrator has not noted any performance issues w ...Show All
Microsoft ISV Community Center Forums VBA SDK mfc sample
I have installed a VBA 6.4 sdk. My problem is in mfc example not in in visual basic example. Whe i try to use a method of the application host object in macro editor occur an error. Example: Public Sub prova() Dim app As New Application Dim str As String str = app.VBAVersion 'error Set app = Nothing End Sub when i execute the macro prova occur: ActiveX component can't create object or return reference to this object ( ...Show All
Visual C# Encode
Hi what is the best way to encode code What do you want to encode The source code, your assembly You can use a obfuscator, here is a little list of obfuscator's for .NET: {smartassembly} Decompiler.NET Deploy.NET Salamander .NET Obfuscator Semantic Designs: C# Source Code Obfuscator Spices.Net Thinstall Demeanor for .NET XenoCode .NET Obfuscator and Optimize ...Show All
Visual Studio After linking Class Library: Microsoft.Common.targets
Hello, I created a solution containing two projects. When I create a reference from the GUI to the Business Layer, the compilation fails: Error 60 Specified condition "'D:\Documents\Projects\Brammekes Virtual Scrambler\BL\bin\Debug\Native.BL.manifest'" evaluates to "D:\Documents\Projects\Brammekes Virtual Scrambler\BL\bin\Debug\Native.BL.manifest" instead of a boolean. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Commo ...Show All
Smart Device Development Setup and Deployment project
I've just completed writting and testing my smart application (for pocket PC) and I'm now ready to deploy it. What template do I used create the setup for smart applications Thanks Hi Daniel. Thanks, that work, just created my first smart device setup. Cheers ...Show All
Windows Forms Menu on left, multiple windows on right
Can I implement a "menu" using a form with a treeview/list on the left and anchor it permanently to the right side of the form, and have multiple windows open in the remaining space I'd like it so that if the user maximized one ...Show All
Visual C# form collecting
I have the following line of code in my program that grabs all of the open forms on a page. FormCollection tmp = Application .OpenForms; Now I need to get at the forms that are open. I have a hooker that I need to pass it to but I don't know how to get at the individual forms inside of this list. How do I get to it At its simplest the FormCollection class is just an array of Form objects and because o ...Show All
.NET Development strongly typed dataset
Hi, The following line populates a datagrid using a strongly typed dataset. dsEmps is the .xsd file in the foreach line I would like to loop through each record I get an error on the foreach line and it says: specified cast is not valid I think this line has to be somehow casted employeeDetailsData.Employees.Rows EmpBusRule.EmpService.dsEmps employeeDetailsData; EmpBusRule.Employees br = new EmpBusRule.Employees(); employeeDetailsData = ...Show All
SQL Server SQL Server 2005 Upgrade Advisor not detecting known issues.
The SQL Server 2005 Upgrade Advisor (June release) doesn’t detect any issues or make warnings of our application’s database, scripts and trace files. (Just the general message about undetectable issues.) These trace files include statements which attempt to create a 2mb database and use xp_cmdshell so I’m sure there should be warnings! - I have SQL Express installed and these things fail when I run our app. So what is wrong ...Show All
Visual Studio Team System Work Item Sorting
Hi all, does anybody know why I can't sort my Work Items according to the tree I defined in the project classification I defined multiple iterations and phases of the development life cycle. But did not found a way to sort the WIs according this tree. Thanks Stephan You can sort on the "Area Path" and the "Iteration Path" and they will sort according to the full path. By default the WIs should be sor ...Show All
Windows Forms Which .NET quick start application is best?
I'm new to .NET. I am glad to see that so much has been accomplished with regard to best practices and patterns for designing with .NET. I have recently been very interested in Smart Client and am looking forward to developing a rich clien ...Show All
Windows Forms search and display results within a data grid
Hi, Wondering if someone can help, have form, data grid, dataadapter and dataset in place, can update, amend,fill,view etc from datagrid. However I can't figure out how to search one column, from underlying table, and return results either on screen or to a printable output, Any advise or assistance would be greatly appreciated, Thanks, Clint Actually, I believe I'm looking for something like a SQL ...Show All
