How can I make my application to expect config file under "C:\Documents and
Settings\All Users\Application Data\MyApplication" folder rather install
folder.
My app performs read/write operation on application configuration file that
gets installed under application folder "c:\program files\My...
How can I make my application to expect config file under "C:\Documents and
Settings\All Users\Application Data\MyApplication" folder rather install
folder.
My app performs read/write operation on application configuration file that
gets installed under application folder "c:\program files\My...
Someone mentioned a quirk of xcopy.exe on one of the MSDN forums. When we redirect output we have to redirect input too. If we don’t, it immediately and silently quits right after startup. I don’t know concrete reason for it, but does the trick.
Thanks everyone for help.
Hi JurkMonkey
I tried running cmd as process but that didn't help. I can't ignore redirecting the output because as I have to log the outcome of the xcopy process to the log file. Is there any other way to achieve that?
Thanks
I am having issues copying files from network drive to local machine using xcopy. The following code works alright for a console application, but as soon as i call this code in Form Load event of windows application it does not work. I am confused here, it copies files in a console application...
I need to create a Contract of Sale document in word which gets populated with client details from a .net application. How can I populate word document from a .net application and then open the document?
I am using office 2003, VS2005 and SQL Server 2005
Thanks
I am trying to persist data from SQL Server 2005 table into an XML file using FOR XML clause in the SELECT statement. I have a column named “Photo” of type Image. Issue is; the FOR XML clause is returning the picture as some reference instead of binary format...
How can I read a large xml file containing blob fields? I have an xml file that store information about products including 5 images for each product. I am getting Out of Memory Exception when I try populate Dataset using ReadXml() method. Why am I getting this exception when I am running on...
how can i add, modify, delete data in sql server database hosted on webserver? i have a client form that enables maintaining client information. every time a client info is added, modified or delete i want changes to be replicated in sql server database on webserver as well. please help.
Thanks
How can I reconcile changes between two data table and create a subset of those changes. I have two data tables with same schema which gets populated from two different xml files. I want to get hold of missing & changed rows in first table from second table. Tables have ID as primary key.
Thanks
Is it possible to show mater detail in DataGridView. If you bind DataSet with relationship defined to DataGrid it show records in drill down manner (+ to expand details) but DataGridView does not.
Thanks
How can I make property for my custom control collapsible at design time? Similar to Size, Location, Padding and other properties. I want to create Dimension property for my control which has collapsible x and y element.
Thanks
I can't compile it as ActiveX DLL as it is a MDI app and contains plently of End statement. ActiveX DLL doesn't suppport either.
I'll try out the other trick (shut down method)
I have a VB6 application which I want to use in .NET application. I have created a public class in VB6 app which has following public method on it and compiled my VB6 app as ActiveX.exe
Public Function GetFormFrameHwnd() As Long
Dim frm As New frmCompany
GetFormFrameHwnd =...
How can I report un-typed DataSet/DataTable using Crystal Reports? I can’t define a schema at design time as my DataSet/DataTable is build dynamically and number of columns varies with each run.
Thanks
How can I open VB.NET application from within VB6 application? I have a button on the toolbar for the main form of VB6, which should open VB.NET application. The main form of the VB.NET application displays set of results for various companies in a DataGrid. There is a “Open Company” button...
Creating a new typed dataset using the Data Source Configuration Wizard (and opting NOT to save the password with user settings) generates a ConnectionString setting like...
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\JB74\LISYSTEM.MDB;User ID=user;Jet OLEDB:System...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.