sam_idea's Q&A profile
Software Development for Windows Vista Exception related to AppDomain
i am getting exception related to appdomain only when i am clicking the button morethan once. The exception is - cannot create morethan one workflow in the same Appdomain. below is the code. protected void btnTracking_Click( object sender, EventArgs e) { WorkflowRuntime workflowRuntime = new WorkflowRuntime (); workflowRuntime.AddService( new SequentialTracking. CustomTrackingService ()); workflow ...Show All
Visual Studio Class and Method description for vs.net Intellisense
Hello I've been searching for awhile now for the answer, but did not get any luck. Ok, in vs.net when you type string . , you will see a little pop-up box with a list of available methods of that string class and when you move your mouse arrow over each of those methods you will see a brief description of what that method is. When I design my class, the intellisense cannot provide the description of the method of my class. So, my questio ...Show All
Visual Studio Visual Source Safe 6.0 Training
I have been searching high and low for companies or other organizations that provide for "Visual Source Safe 6.0 Training". I am looking for either: (1) on-site courses or (2) off-site courses or (3) courses delivered via CD/DVD or (4) over the Internet. This would be for the Dallas, Texas area. Can someone lead me in the right direction to a company or organization that provides this kind of training in both the "use" and "admini ...Show All
Windows Forms Pass around object references or IDs?
Say I have a TreeNode that represents a Customer object. It displays the customer's name, and when it's activated a form opens to edit that customer. In order for the form to know what customer to edit, the tree node has to keep some kind of reference to the customer object that it represents, and pass some information to the form to indicate the customer to edit. As I see it, there are two ways for the tree node to keep the reference to the ...Show All
Visual Studio unsafe code in asp.net site
Hi Guys I met a problem in building an ASP.NET web site that includes an unsafe function. The error said:"Unsafe code may only appear if compiling with /unsafe" I tried to find where I can modify the build switch, but failed. Can you help me Thanks Jemmy, MSBuild isn't used yet to build ASP.NET websites. I'd suggest asking your question over in the ASP.NET forums. Someone there should be able to ...Show All
Visual C# Resizing jpg to smaller resolution
I am not sure whether I should be in C# or C++ perhaps somebody could advise I write in Visual Basic & have an app the I want to allow the user to select some jpg files and have them reduced in resolution As Vb does not have this facility, I was hoping I could get somone to point me in the direction a code example I could utilise in net 2005, (don't yet know how) using C which I could then compile. my app would shell the c ...Show All
Visual Basic SendKeys/Looping alternative
I am writing a script that will automate data entry into a third-party terminal based application. The application is closed off completely. There is no way (that I am aware of) to make any type of API calls to the application. Currently I have a series of SendKeys commands that enter the data into the GUI of the application. Each SendKeys is followed by a loop/timer event that pauses the script to allow the GUI to "catch up". ...Show All
SQL Server IF Command
Hi All, I am having a few problems writing a sp for the sales team, I have to display a target figure from a customer dates start_date target_year1 target_year2 target_year3 target_year4 target_year5 01/01/2004 100 150 120 150 170 01/01/2003 90 20 30 30 30 the start date for each customer is different so the target year 1 ,2 ect will be different time peri ...Show All
Visual Studio comandline ss prop seems to "hang" after using analyzer
hello, Please help us solve this problem. After using analyzer on our database we can not use the comandline ss prop * anymore. It seems to hang on a source. When i look up this source in the Sourcesafe explorer there seems te be nothing wrong with the source. I can see the propperties of this source. What we use: Visual Sourcesafe 6.0d What we do: 1. We run on the comandline ss links, prop and paths. It runs correctly. 2. We anal ...Show All
Windows Forms DataGridViewLinkColumn & DataBinding
Hi All, I have a DataTable. I want one of the column as link column when i bind it to a datagridview. Can any one help me with a sample. Anand Using the designer put a DataGridView onto the form. Set the DataSource to your DataTable. Right click the DGV and select Edit Columns. Find and select the column that you want to make a Link column. On the ColumnType property change the type to be a Link Column then click Ok. If you are not us ...Show All
.NET Development Securing my webservice with Windows authentication
I have a problem securing my webservice with Windows authentication. The goal is a client app transfering data to a server which is blocked for anonymous requests. To do this, the client app asks the user for credentials, build some NetworkCredential with them & adds them to the CredentialCache. When i look at the iis log, each call to my webmethod appears twice in the log - first try without credentials (which fails with http 401) and the ...Show All
Windows Forms in the windows form, datagrid does not fill automatically
I have a windows form, this form includes a datagrid.Datagrid fills dataset MY QUESTION : When code executed, in the datagrid I have to do this operations: In datagrid, I have to push [+] link and then [ Table ] link of datagrid for fills. How& ...Show All
Visual Studio Express Editions Controlling the Serial Port
Hello! I want to control the serial port and have converted some code over that i was using but got all kind of errors. Does Visual Basic Express deal with Mscomm1 the same as VB6 I tried to find some code to help see any difference but was unable to find such. Is there any code out there that i am not finding that allows me to crontrol the serial port Thanks, Kevin The .NET framework provides the SerialPort class: http:/ ...Show All
Smart Device Development Display a RTF file with InkX
I don’t know if it’s possible to open and show a .rtf file with InkX. I’ve tried with the example of http://www.opennetcf.org/Forums/topic.asp TOPIC_ID=286&SearchTerms=Inkx,control but when I open a .rtf file it doesn’t show correctly, I need your help!! could you show me a code sample I don’t want to use Intelliprog’s richInk, and I’m using Visual Studio 2003 with c# building a PPC program. thanks ...Show All
Visual Basic How can I edit my existing program?
I made a very simple program. It displays the hair color of whichever family member's name is typed into the text box. It works and everything, so I don't need to edit it again. However, I can't figure out how to get back to the form/control editor. Whenever I open the project, it just displays the code for the button-click procedure, and I can't find how to get to the form editor. Could someone help me out Thanks, Confused Programmer ...Show All
