any name's Q&A profile
Visual C# Download xml files from http site
Hi All I would like to know which classes are involved in the process to get all(n) files (xml files in this case) availables into the virtual directory (Eg: http://www.xmlfiles.com/xmldir). I tried used Directory and File Classes, but I got this error (URI format not supported). Tks. Hi, If you know the names of the XML files then you can use the following: WebClient objwebClient = new WebClient(); objwebClient.DownloadFile(" h ...Show All
.NET Development Unloading AppDomain Objects
Hello - Having trouble getting the results I'm expecting when unloading an app domain object. I have a very simple scenario where I'm creating a new AppDomain object in a standard exe and loading an assembly from a dll file. The problem is when I load the assembly using the new AppDomain object, the assembly is also loaded into the original app domain. According to documentation, I would have to explicitly tell the JIT complier I want this ki ...Show All
Windows Forms Adding a control's context menu to the parent form's context menu
How do you detect if a context menu is being displayed for a child control and then extract that child control's context menu to be merged with the main forms context menu This is my setup and what I'm trying to accomplish: I have a form& ...Show All
.NET Development XmlSerializer does not show DataType.
I am using XmlSerializer class to serialize and de-serialize an object. I have mention the XmlElementAttribute: DataType but the serialize docment does not show DataType as an attribute of the element. What should i do to achive the same The code I am using is : =================== XmlSerializer serializer = new XmlSerializer( typeof (SetParameterValues)); MemoryStream memoryStream = new MemoryStream(); serializer.Serialize(memoryStream, ...Show All
Software Development for Windows Vista VS 2005 final release vs. Windows Workflow Foundation
Can anyone (from Microsoft) tell me when a working beta of WWF for the final release of Visual Studio 2005 (8.0.50727.42) will be available Hi Andreas, Unfortunately the workflow debugger still has some problems in Beta 1.2. This is a brand new debug engine integrated with Visual Studio 2005. To avoid the failures for now you can set break points in your code beside source code and debug your application. Setting breakpoints in your ...Show All
Windows Forms Smart Client Very Slow SqlConnection.Open() on some clients
We have a smart client that uses ADO.Net to access SQL Server. On some machines the initial call to open a SQLConnection can take up to 2 minutes to return. Subsequent calls take <1 sec. On other clients the call returns& ...Show All
SQL Server SOS, please help
hi all I'am working on a smart device application that is supposed to be capable of communicating with a sql server DB on another PC on the same network. using VS 2003 i tried to specify the IP address in the connection string but it didn't work out i tried to put a web service on the DB server but the problem i hit is i wanted to send and receive objects between the service and the device, so i added a DLL containing the classe ...Show All
Visual FoxPro Primary key + delete....
General Design Question…. Suppose I have a table (Table1) with a primary key (PKId), if a user deletes a record then wants to add a record with the same PKId value there is a Primary key violation because the table has not yet Been packed. What is the best solution to this I have Considers the Following… 1) Indexing on PKId+!deleted() , but this would only solve the problem if he delete the record once, what happens if h ...Show All
Microsoft ISV Community Center Forums Excel, Forms, and Charts
I am pretty much a beginner when it comes to VB. I need help with a project I am working on that has me ready to rip my hair out. Here is the what I need to do: When I open a workbook (excel) I want it to display a form where I can enter in the date and various data. I need that form to add that data that I entered to the worksheet in the coloumn that corrisponds with that particular information. It also needs to copy that row's for ...Show All
Visual C# Related to C#
Hi, What is C# specifically for How about its difference from C++ There are so much article about this: Similarities and Difference between C# and Other Languages Difference between C# and C++.NET Some differences between C# and C++ - Entry 1 Compare C++ With C# I will close this thread because you can find all the answers and more by just reading some blogpost and articles that can be found very easy. ...Show All
Visual Studio Tools for Office Use Microsoft.Office.Tools.Word.Bookmark in a Shared Add-In for Word ?
Hi, Is it possible to programmatically add a Microsoft.Office.Tools.Word.Bookmark that provides additional events compared to Microsoft.Office.Interop.Word.Bookmark I have attempted to do : Microsoft.Office.Interop.Word.Bookmark bkm = WordApp.ActiveDocument.Bookmarks.Add("MyNewBookmark", ref rng); And then cast the bkm to a Microsoft.Office.Tools.Word.Bookmark but it doesn't work. Can someone help me please Thank you ...Show All
.NET Development data deleted from dataset
I have an ASP.NET application that is loosing the data in the datatables in a dataset after the initial load of the page. The tables are created in the dataset but they contain no records. I am trying to update the dataset on the Click event handler for one of the buttons on the page. Does any body have any ideas Thanks. Do you see the data in a DataTables during initial loading of the page first time If yes, th ...Show All
Visual Studio 2008 (Pre-release) VS 2005 RC framework version incompatible with WinFX!?!?
Got the VS 2005 RC while at PDC. Also got the WinFX bits. Sadly, the version of the .NET Framework that VS installs (and requires) is too new for WinFX so I’m unable to do any development. Any timelines on when there will be a refresh for WinFX that is sync’d with the VS RC Hi Vikram, 1. Go Live plans on Beta 2 of WinFx is still being finalized. 2. The timeframe for Beta2 itself is 'Windows Vista Beta2' which is in December. Thanks, Fo ...Show All
Windows Forms Checking for a null entry in a textbox
Lets say I have some code and I want to check to see if the user has not entered anything into a textbox; how do I do this In order for some code to work the textbox should contain a number, however, the user may not have entered the textbox yet. The value of the textbox is used in a calculation so I need to be sure the textbox does not contain a null. I have tried a couple of differnt lines of code to check for a null value but they have no ...Show All
Windows Forms report load failed in another PC
I use crystal viewer to viewe a crystal report. It is working fine in my home pc. After I re-run in company pc, I got error: report load failed. Can anyone help me ...Show All
