jizhang's Q&A profile
Windows Forms Locked dll
I was under the impression you can update (overwrite) the application dlls even when a user is running the app. Looks like this is true only for asp.net, in windows forms the exe and dlls are locked. I have an app what I wan to d ...Show All
SQL Server Database Object Deployment
I have a Visual Studio 2005 Database Project, with SQL Server 2005 scripts in it. How do I make a deployment package with it How do guys deploy your database objects/scripts I think this is what you are looking for. Right-click on the database in MS: Script Database As>CREATE TO>.... You can script to a file, the clipboard or a query window. ...Show All
Visual Studio Including different app.config in different build configurations
I've created separate solution configurations because I need to publish my app (for ClickOnce installation) at multiple locations and each has it's own URL, file location, etc. So that works great. But, I also want to have different app.config files for each deployment (since they also have different connection strings and other settings), and I can't find a way to do that. Any ideas Thanks, JR Perf ...Show All
Visual Studio Package Load Failure Visual Developer Trident Designer Package
Un-installed Beta 2 and loaded the release version. all working nicely and then started to get Package Load Failure 'Visual Web Developer Trident Seginer Packgae' has failed to load then offering to disable loading this package when opening an existing form. If I disable it can't load any of my saved forms. I've unisntalled the release version and reloaded still getting the same error. Can any one point in the right direction which isn't ...Show All
Visual Basic How to save data from a form to a xml file?
i'm trying to find a way to store data entered in a form into a xml file i have found some codes~ it worked~ but when i want to store another set of data~ it replaces the one i enter before~ it's like it's creating a new xml file each time i store data in the xml file the code i used is this Dim xmlTW As New XmlTextWriter("..\CYFmembers.xml", Nothing) With xmlTW .Formatting = Formatting.Indented .Indentation = 2 .W ...Show All
Visual Basic Loading Data Using ProgressBar as Indicator
Here we go again folks, hope you help me out on this one...I had a form(frmAccount) wherein it has a datagridview(dgvAccount) that bounded to a certain table of my db.Because of too many records(about 20000), it takes such time(about 8seconds almost) to load all of the data...I had no idea how can I possibly decrease this loading time so I just put a progressbar(pBar) as an indicator of the process.This progressbar was attached in the main ...Show All
.NET Development Is Typed DataSet is better option than DataSet in a large Enterprise application
hi there, Me and My team is currently in a process of desigining an enterprise application. Basically it is a web based nTier application. At this time I have to take decision which option is better "DataSet or Typed Dataset". I know both have there own pros and cons. I also already studied many articles like http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/BOAGag.asp . So from you i just wants to know which option is ...Show All
Windows Forms can clients access remote database (SQL)....?
I want the clients to install an aplication that uses a database, without actualy installing the database on the local computer. therefore clients will be accessing the database remotly from our server. the problem is that it seems that clickonce does not support this service. please provide me with any tips, hints or information related to this subject. thanks for your help. Well, the thing is that i ...Show All
.NET Development Data Adapter not generating a table
Hi, I'm having a problem with my tables. I created a data adapter, configured it and generated the dataset. The table shows up in the dataset, but when I go to bind my controls to the columns, through properties, the table is not there. I also need this table for Crystal reports and it's not showing up in that list of tables either. I've tried several things including: 1) deleteing everything and starting over. 2) deleteing eve ...Show All
Visual C# Digitally sign a c# web form from a CaC (smart card)
Does anyone know how or does anyone have some sample code on digitally signing a web form Right now we have a manual process on our network accounts. Someone fills out the form on the web, prints it and then faxes it to us. I'd like to make this as automated as possible. Thanks, Frank Hi, Thanks for your posts on MSDN forums. Basically, it doesn't make sense to sign a web form in your source code, for the se ...Show All
.NET Development problem of port for remoted object hosted IIS
Hi there I try to do something, it makes my head in, I try to host a remoted object in IIS(done no problem) Now I would like IIS to listen to another port than 80 so in web.config I tried : <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall" type="Server.Hello, Hello" &n ...Show All
Smart Device Development Installing .Net Framework 2.0 (KB829019)
Do you need to uninstall .Net Framework 1.1 before installing .Network Framework 2.0 You're in a wrong forum, this one is for Compact Framework. Anyway, the answer is no. ...Show All
.NET Development Process.StartInfo.Arguments
I am trying to GET the arguments that were used to start a process (console app). But it always seems to be returning empty string. Is there a way to get the command line arguments that were passed to start a process Example: Lets say I opened "notepad" using a file name on the command line. Then I need a way in .NET to get the file name value that was passed to this process. string sProcessName = "notepad" ; foreach( ...Show All
Visual C++ Question Regarding Automation
Hi, I'm dealing with some automation for my code, and there is some syntax that is there that confuses me I have code like this: BEGIN_DISPATCH_MAP( MyDocument, C CmdTarget ) //{{AFX_DISPATCH_MAP(MyDocument) DISP_FUNCTION(MyDocument, "SetVisible", SetVisible, VT_EMPTY, VTS_BOOL) //}}AFX_DISPATCH_MAP DISP_FUNCTION(MyDocument, "SetInvisible", SetInvisible, VT_EMPTY, VTS_BOOL) END_DISPATCH_MAP() The part i dont understand is why the A ...Show All
Visual Studio Express Editions Simple Listview Question
Is there a way to make my listview's background color altenrate with 2 colors Like on some programs a list of something has white blue white blue for each item's background color. Is there a way to do that so i dont have to have a loop go trhough each item and set its background color There is no shortcut, but looping through the items is easy: Dim i As Integer Dim j As Integer = 0 Dim item As ListViewItem F ...Show All
