jzfredricks's Q&A profile
Visual Studio Express Editions Microsoft Windows Installer 3.1 Fails
When I try to install VB.net i get this error message. I have not run any of the betas on this machine, nor do I have the .NET 2.0 framework installed. Any ideas The following component failed to install: Microsoft Windows Installer 3.1 The following components were not attempted; Microsoft .NET Framework 2.0 Microsoft Visual Basic 2005 Express Edition - ENU Just noticed the current Windows Installer file (msiexec.exe) is an older version on my laptop than the one on the desktop. Found out the windows Update site can't even install it, so it's definetly not a vb express problem, but a windows problem. ...Show All
Smart Device Development register a dll
Hi, when I want to register the dump.dll register filter, I got this error dump.dll is not an executable file and no registration helper is registered for this file type. Any idea where it can come from Thanks Regards I tried both, with regsvr32 I have the error message that I described in my previous message, and when I used regsvrce with platformbuilder I have the following error : DllRegisterServer in dump failed, and the dump.dll is unloaded. Maybe I do it the wrong way Thanks for your help Best Regards ...Show All
Windows Forms serialization of subclassed treenodes
Hi, I am new to C# and .NET, but I have some programming experience in other languages/libraries. I am using C# and Visual Studio Express. I am trying to make an application that displays data in a treeview and saves the data between sessions into a file by serialization. I am subclassing TreeNode to make the nodes in my treeview. For example, the treeview might look like this: ShopNode -CustomerNode - PurchaseDetails - PurchaseDetails - PurchaseDetails -CustomerNode - PurchaseDetails - PurchaseDetails ShopNode -CustomerNode - PurchaseDetails -CustomerNode - PurchaseDetails I serialize the TreeView.Nodes by putting each ShopNode into an ArrayList and then serialize the ArrayList. I re-construct the TreeView by deser ...Show All
Visual Studio Express Editions Can A button have a click event of a value to deduct from Text Box
I have a text box that will have a figure entered into it at the beginning of the week. What I want to do is have a button that when clicked will deduct 1 from the total showing in the text box each time it is clicked. Is this possible, and if so could someone help me out with the click event please. Thanks heaps, Diane Thanks for your help with this, but I seem to be having a problem. The show method is causing my "Totals Required" screen to appear when I click my "subtract 1 button" and it is changing the totals on this screen but when I access this screen from my main form the totals have not changed. Here is a brief description of what I am trying to do. I have a total number of ...Show All
.NET Development about *.ashx setup
hi i don't know how to use *.ashx to take user request about rar file. ( example: www.host.com/sample.rar ) in asp.net 1.x , we can use a implement IHttpHandler dll with below setup to take it, but how should i do in asp.net 2.0 now thanks <httpHandlers> <add verb="*" path="*.rar" type="namespace.classname, assemblyname" /> <httpHandlers> Hi ShengYan. You cannot use .ashx this way. If you want to handle .rar by using your own handler class, you should first tell IIS to delegate .rar request to ASP.NET engine, which would lead to modifying the IIS metabase. If you really want to d ...Show All
Visual C# Referenced DLLs - How to dynamically update the path of the reference dlls in another solution?
Hello, I am working with 2 C# solutions right now, 1 is the main application we are creating (let's call it MainSolution.sln for now), the other is a unitTest solution (UnitTest.sln) created as a separate solution file, as the main solution consists of too many projects and compiling it takes a long time. It was created separately also because different groups of developers can work on the respective solutions they are tasked to do. In the UnitTest solution, we create unit tests for the main solution classes, hence, for each project in the unitTest solution, I've added references to the respective main solution dlls. A typical full path of the Main solution's DLL is C:\MainApp\<foldername>\bin\Debug\<filename>.dll I'm cur ...Show All
Smart Device Development how to minimize the form?
how to minimize the form. and develop platform is c# .net cf hi JR I have tried Form1.Visible = false; Form1.Refresh(); when I type Form1 dot , in the list of the Form1, there are no Visible and Refresh() appeared. Why Thank you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA RSS Feed Broken with 404.
Not sure where I can put this but since this seems to be the only XNA forum on MSDN, I figured this would be a good place to stick it. http://msdn.microsoft.com/directx/XNA/default.aspx The RSS link in the firefox URL bar goes to a 404 page. If you feel this is in the wrong place, and move it, Please Email me. Thank you. Use http://forums.microsoft.com/MSDN/rss.aspx ForumID=882&Mode=1&SiteID=1 and http://forums.microsoft.com/MSDN/rss.aspx ForumID=846&Mode=1&SiteID=1 instead for XNA Game Studio and XNA Framework forums respectively. ...Show All
.NET Development Which Method is Better for Transferring Large Datasets/Tables
Here is the application: There's database server that has a database that has "a lot" of data in it. i.e. There are about 30K+ Customers, 15K+ suppliers (Of course growing) and I want to be able to access the data from the various table and display(listboxes, comboxes) and query(by entering ids/strings etc) from mobile application on PPC 2003 WLAN Powered Handheld Devices. For eg . the customer name will be loaded in combooxes and when customer is chosen the customer info is shown. As it stands now loading all of the customers in the combox takes a long time (few loong seconds). The autocomplete feature is also very slow is there anyway I can do this that it doesn't take a long time as this deem the application not very ...Show All
SQL Server ASYNC_NETWORK_IO Qyery running slow
I am running a Stored procedure which select from a table and returns approx 800000 records. When calling from any client machine it takes long time to return the result (90 sec). It waits for ASYNC_NETWORK_IO which is pushing the result to client. If select statement is used with TOP operator to return less number of records it executes faster. When calling from the server the stored proc returns data in 13 sec with all records. In another machine of identical HW and configuration this problem is not there. Can anyone help how to improve ASYNC_NETWORK_IO issue Environment SQL-2005 SP1 64 bit Standard on Active/Passive cluster Windows -2003 Ent. Thanks -Ashis Do you really need to return 800K rows back to the client. That is ...Show All
Windows Forms Parsing and DOM creation of the manifest resulted in error.
I'm using C# (VS-2005) I've a solution file which has many projects in it. I've published the main project, which in-turn has references to other assembly files. It got published successfully to my default web page, but when I'm trying to Install the application, it is throwing an error: "Cannot continue. The application is improperly formatted. Contact the application vendor for assistance." The details file looks like this: ---------------------------------------------------------------------------------------------------- PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM ...Show All
Visual C# how do you apply a class
hello all, I am new with C# and stuck on some coursework I have created a class: public class student { //start of class declaration public string name="Jane Doe"; public string course="Multimedia and Internet Systems"; public string email="test@test.com"; } how do I apply the class to a textbox so that when the user selects one of the details say name then the name will appear in the textbox. or am i doing something completely wrong with the class i am using MS Visual Studio .NET 2003 any help would be greatly appreciated edit: i am using a main menu in the application, so when the user selects name from the menu it will display in the textbox There are many many ways to do this. O ...Show All
SQL Server "Duplicated parameter names are not allowed" exception in SQL Server Everywhere
I'm using SQL Server Everywhere CTP with ADO.NET and C# 2.0 and getting following exception: "Duplicated parameter names are not allowed. [ Parameter name = @NODE_ID ]" for the query: SELECT CHANGE_TYPE,CHANGED,VTRANS,LINK_PARTITION_ID,LINK_ID, SOURCE_PARTITION_ID,SOURCE_NODE_ID,TARGET_PARTITION_ID,TARGET_NODE_ID,TYPE,LOCAL_CHANGE_TIME,ATTR FROM VP8657b26964d4c595a7430761c222f3b3_REL WHERE (((TARGET_NODE_ID=@NODE_ID AND REL_BASE_TYPE=2)) AND LOCAL_CHANGE_TIME > @LOCAL_CHANGE_TIME ) OR ((SOURCE_NODE_ID=@NODE_ID AND REL_BASE_TYPE=2)) ORDER BY LOCAL_CHANGE_TIME DESC Without underlined frament, query runs fine IDbCommand.Parameters shows that there are exactly 2 parameters with different names: @LOCAL_CHANGE_TIME and @NODE_ID Exc ...Show All
SQL Server New Data Source showing only default instance
I have two instances in SQL on my machine. When creating a New Data Source in BIDS, I can only see the default instance. I have checked the SAC manager to make sure the second instance allows remote connections and the setting are exactly the same as the default. Any ideas Thanks. I checked the Config Mgr and the port number was blank for the second instance. When I changed the port number to the same as the first instance, I was unable to restart the second instance until I removed the port number. Should I use a different # ...Show All
.NET Development Inserting a row duplicates this row
Hi, I'll insert a row in a dataset, then to merging this with database, after this, i sync my sqlservermobile database with the server, all is ok, but if I'll fill the dataset (after syncing) this row is duplicated with different guid (which is the key) code: datatable.Rows.Add(row) DataSet changes = datatable.GetChanges() datatable.Merge(changes) datatable.AcceptChanges() Syncing... tableadapter.fill(datatable) --> after this, the inserted row is duplicated but with a different key (guid) Any ideas THANK YOU! I solved the problem. The insert statement didn't have the guid - column within. So the database was updated with a new guid. On this update dataset got the new row from d ...Show All
