Software Development Network Logo
  • Windows Forms
  • Microsoft ISV
  • Visual C#
  • SQL Server
  • Architecture
  • Visual Basic
  • VS Express Editions
  • VS Team System
  • Windows Live
  • Visual Studio
  • Smart Device
  • Game Technologies
  • Windows Vista
  • Visual J#
  • .NET Development

Software Development Network >> Jagjot's Q&A profile

Jagjot

Member List

nuno_donato
Chicho
Tudor Trufinescu
Sean A
Kasinathan
Matt Dely
Rhodri
Annand
DesDesDes
the beginner
StevenJenkins
swimming
Hammad_Awan
ironhead.chuang
Polypterus
Jens St
Cal Lynn
Gary Cabana
precchia
Alex Chertov
Only Title

Jagjot's Q&A profile

  • Windows Forms Thanks!!!!! But you are wrong...

    Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the  ADO.NET  API or WindowsForms.NET API) and so many people is downloading it, using it, and basing their work on it.... Is TaskVision creating, with each download, an "anti-pattern programmer" Is TaskVision c ...Show All

  • .NET Development How to pass user credentials from a windows app to a web service?

    Hi,     I'm trying to authenticate the user based on the credentials that I get from the client app, but I'm getting empty string as user name. Can somebody tell me if I'm doing anything wrong here. Thanks in advance! Here is what I'm doing: In the windows app, I've set the current security principal as windowsprincipal When I'm making to call to web service, I've tried both these things: 1) MyService service = new MyService(); WebProxy proxy = new WebProxy(service.Url, true); service.Proxy = proxy; 2) MyService service = new MyService(); service .Credentials = System.Net.CredentialCache.DefaultCredentials In the vroot ...Show All

  • SQL Server HELP!!! Trying to schedule SSIS package

    Hello everybody, I try to schedule a SSIS package. When I run manualy, it works without error but when I schedule it, the step fail with error: "Executed as user:... The package execution failed. The step failed." This package contain just a SQL Task that execute a truncate table (it's for the test...) I try all solution I found in this forum and others but all not works. Have you an idea Thanks a lot Arnaud Are you doing any logging The error message will be in there. You should also take note of this: http://wiki.sqlis.com/default.aspx/SQLISWiki/ScheduledPackages.html ...Show All

  • Visual C++ Active X not working from webpage without Studio installed

    Hi all, This is my first Active X component, so I may have made some basic mistakes. But here is what I have done so far... 0. I am using Studio 2005. 1. Created a real basic (AboutBox) MFC Active X Contron using VC++. 2. Created a CAB file project. a. Included the OCX and and INF file to the cab. 3. Created a license file using LPK_tool.exe. 3. Created an HTML page that will access the Active X. And display the AboutBox when the button is pressed. 4. Copied the CAB, the license file and the HTML file to Tomcat webserver. Execution: Test Settings: Using IE on XP prof. Set all the security settings to download, install and initialize unsign ...Show All

  • Visual Basic DrWatson Error in Event Log - MultiByteToWideChar

    Hi, We have VB6 application up and running having SQL 2k as database. It has about 50 and more user using at pick hrs. Now the problem is, sometime, few user got error message and kicked off from the application. I analyze windows eventlog and found that type of error is DrWatson and some exception thrown for multibytetowidchar kind of. I really don't have any idea what happening here. If anybody have any little idea abt this I can give descriptive and exact explaination to them and will discuss further. Thanks Viral Hi, You don't really provide enough information to give a complete answer but here is what ...Show All

  • Visual Basic Adding a shutdown managed function to my VB.NET application

    Hii I'd like to add a shutdown function to my Visual basic .NET Windows Application. I want to know if there is a managed class that can help to do the job. I tried hard with the unmanaged code using the declare or the Dllimport functions, but with those we cann't import an instance of a class, only functions or subs are allowed. I can add a shutdown command that display the dialog box to shutdown the computer by using the interoperability process. Can you help me with a class from the .NET Framework 2.0 that support this function By the way, thanks for the cooperation.   ...Show All

  • Smart Device Development I want to handle PDA 's panel button action,how to do ?

    I know use RegisterHotKey function can set some keyboard button to respone my prgoram keyboard hit . but I don't know what is value of PDA(wince )'s keyboard button (hard keyboard not soft keyboard) . I know system can set them to run specific program by modify registry .  can anyone tell me thanks! calvin.  anyone can help me please ! I just want to know how to hadle the keyboard action (PDA hardware button ) in my program . is it so hard ...Show All

  • Visual Studio Team System Unable to view any of the reports

    Background I have went through the setup of TFS (Beta 2) and there were no issues. When I go http://locahost/Reports , I can see the homepage of the SQL Server Reporting Services. Also, I can see that the TFS project I created is there in addition to 2 datasources TfsOlapReportDS and TfsReportDS. Also, the IIS Application pool for reporting services is using a domain account. This account is also a local admin. The setup I have is a single deployment where both the data tier and application tier are on the same server. Problem When I am in the TFS project (whether the portal page or inside the Visual Studio environement) I can not see any ...Show All

  • SQL Server Parameter Validation for Floats

    Why is the validatation of parameters of type float not working properly. I keep getting the error: An error occured during local report processing. The value provided for the report paramter 'EstimatedAmount" is not valid for its type. Sure. I am using Visual Studio .NET 2005 with SQL Server 2005 Reporting Services. I have a report parameter called "EstimatedAmount" that I set the Data Type to "Float". The available values are not predefined. The default value is 0. I click on the Preview tab and then enter an alpha into the Esimated Amount paramter textbox. It then gives me the error I listed above. ...Show All

  • .NET Development Open a password protected mdb file

    I have a small C# 2005 application that works with MS-Access database file, through OleDB connection, and it works OK. When I tried to secure the database with a password, and added “Password=” to the Connection String, the Open command produces the Exception: “Cannot start your application. The workgroup information file is missing or opened exclusively by another user”. Does anybody Know what should I do   Yippee!! I just neede this too - delighted to find the right answer so quickly! Cheers, JackStri. ...Show All

  • Visual Studio 2008 (Pre-release) WCF Team question

    Hi Team, The current 'WCF documents' isn't good to create real application, so I don't know if it is possible, but .... I think that WCF Team create 'unit test' for code validation. Does WCF Team can 'share' your unit test Isn't necessary a 'compiled' version. With 'unit test' we don't need many documents to understand how to use WCF. It's better than 'examples'. Without it, we have two options : 1) Wait the final release of documents; 2) Write many questions in this great forum. Thanks, Alexnaldo Santos Yes, we do have unit tests. Quite a lot of them. The problem is that ...Show All

  • Software Development for Windows Vista Custom Sql Persistence

    Hi, I need to store the state of the workflowInstance in sql db. Apart from that, I need to store UserId, taskID, etc., in the database. As per the sql schema that comes with WF [sql scripts] does not support. So, I need use my own custom sql persistence. Kindly let me know, if someone has solution for this, please share with me. Thanks in advance, chandru. Chandru - you want to look at tracking for storing data other than the persisted workflow. Workflow Persistence is really for robustness (saving the last known good state to start the workflow again in case of a exception) and loa ...Show All

  • Windows Forms loading assemblies...

    Hi, I want to load an assembly from a file, in c#, and I want to load a Form inherited class from that dll, to show in my main form... How can I do it  What comes after: Assembly a = Assembly.LoadFilr(fileName); Thanks a lot Are you trying to load this form using Reflection   It would be a lot easier to just add a re ...Show All

  • Visual Basic Creating Relations within a Dataset

    im having a bit of trouble creating relations my dataset has 3 tables (client, episode, appointment) one client can have many episodes, and any 1 episode can have many appointments Client (0) INUMBER - primary key Episode (1) ENUMBER - primary key INUMBER - foreign key Appointment (2) ANUMBER - primary key ENUMBER - foreign key so i thought to set up my relations i would only have to do the following:- dsResults.Relations.Add( "NodeRelation1" , dsResults.Tables(0).Columns( "INUMBER" ), dsResults.Tables(1).Columns( "INUMBER" )) dsResults.Relations.Add( "NodeRelation2" , dsResults.Tables(1).Columns( "ENUMBER" ), dsResults.Tables ...Show All

  • SQL Server Delete Duplicates in SQL2005

    I have a db working well in SQL2005, I import data into the various tables with no problem. In one of the tables, I don't want duplicates based on names in a name column. Where I have more than one instance of the same name, I want to delete the entire row, not just the name itself. Do I have to do the duplicate search and delete after the import   So what do I do once the data is in my table Do I write and execute a script that will check the table and perform the delete if required I think that this is probably correct. I do have a very old script that I found in a Google search, but it seems so long and convoluted. ...Show All

©2008 Software Development Network