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

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

jinjun

Member List

Matt Winkler
Mr Dave
Dick
rhj4
Roger Williamson
SolomonDev
learning_dotnet
smmuneeb
96RT10
Taladan
ken w
maheshbabui
Snarfster
ismar
vistalad
Khalnayak
VisuallyBasic
jonbon
Palcouk
Giampaolo
Only Title

jinjun's Q&A profile

  • Smart Device Development VS 2005B2 remote app running problems

    Hi, I used to be able to run/debug applications on my AudioVox smt5600 using Visual Studio 2005 Beta 2, but now it has stopped working, and I'm stumped about how to fix it. VS reports that the deployment has succeeded. I get the little multicolored pie thingee, but it just goes on and on, and never runs the application. If I navigate to the app via file manager on the device, I can run my app without any problems. If I switch to the release configuration, it doesn't make any difference. I've tried power cycles, making sure the debugger is off, etc. Does anyone have any ideas about what I can do next TIA -- ...Show All

  • Visual Studio Express Editions Access Databases!! Without Databindings

    Hey there, I have foun the way to connecto to an access database and use it without the DataBinding and the BindingNavigator First: You will need to add the Database into your Project, its better if you create the database in Microsoft Access first and then add it into your project as an existing item, use the general help to do this, when you finish adding the Database to your Project, it will create and add a DataSet into the Project too, that will contain the info from your Database. Second: You will have to add a DataSet Control to your principal form or the one into you are going to write the co ...Show All

  • Windows Forms I need some help with The class Matrix()

    Maybe it is a simple problem but I see no solution. Default matrix:    [ 1 0 0 ] /    [ 0 1 0 ] /    [ 0 0 1 ] When I use First and only  "Graphics grfx" as grfx.ScaleTransform(2, 2); The new Matrix is then:    [ 2 0 0 ]  /    [ 0 2 0 ]  /    [ 0 0 1 ] When I user  ...Show All

  • Windows Forms Extending ComboBox

    Hi all, I have inherited the task of maintaining C# code that was developed on NT. I am currently trying to build and run it on XP. It is building fine but isn't running. The problem is down to a combobox. The developer has extended the standard ComboBox to add some functionality but it appears that this extension has broken the ability to assign a datasource to it.   When I try to assign an ArrayList to it the value of DataSource is = null just after the assignment, however, if I assign the same ArrayList to a standard ComboBox's DataSource property the value = the ArrayList. Any tips would be brill. Thanks ...Show All

  • .NET Development CPU usage

    I have to write a small service which will monitor the CPU usage and if a particular process consumes more than a predefined amount of CPU for a certain duration of time (that is, if this process is responsible for "hanging" the server), this service will kill that process and then restart it (of course, only if this process is one of the "custom" programs, not a system process). My question is: is there a programmatical way of determining the CPU usage at the moment [I am going to use a Timer which will do that once in a few minutes.] Could someone give me a link to an article describing how to do this, ple ...Show All

  • Software Development for Windows Vista EventSinkActivity Parameters

    I have a workflow with an event sink activity. When i Raise the event that fires this activity i want to pass a parameter (the id of the user who raise the events). I have added a int in the eventargs class that inherits from WorkflowMessageEventArgs, but i don't know how to catch this parameter in the method that executes in the workflow when the eventsinkActivity is called: private void MethodForEventSinkActivity( object sender, EventArgs e) {    //I want to catch the id of the user that raise the events here!! } Thanks in advance Javier Javier, once you specified the InterfaceType and eventName for the even ...Show All

  • .NET Development Getting process running when user is not administrator

    Hello,   I have created a VB.NET application.   I want only one instance of application to be running on one machine at a time.   It worked with Process.getCurrentProcess and checking FilePrivatePart of Module\FileVersion\   For accessing the process class User on that machine needs to be an administrator.   But my application is runned even though user is not administrator.   Could any let me know how to solve this.   One more thing user can copy the exe to another and run also.. Regards Amit Pandya This sounds like a Windows Service to me. Windows Services can be set to r ...Show All

  • SQL Server How to avoid user delete column

    Dear all I would like to ask one sql question , it's that possible to use statement delete my columns select * from tablename where columna = '--delete from tablename ' In particular, the statement (select * from table where column = 'delete from table') is not going to drop any column. But if you are concerned about SQL injection, that would be an issue if it's the user who specifies the column value. For example, let's say you get the user input in variable @col1_value and then you concatenate that and execute: select * from t1 where col1 = '@col1_value' If @col1_value is: val1 , the query executed will be: sel ...Show All

  • .NET Development 404 Not Found in HTTPWebRequest.GetResponse and HTTPListenerExceptions???Someone help please

    Hi, I am getting lots of 404 Not Found when i request for a URL through HTTPWebRequest.GetResponse() method. What possible reasons can be there and how to correct them. Dim Wresponse As HttpWebResponse = CType (Wrequest.GetResponse(), HttpWebResponse) Also I am getting the following HTTPListenerExceptions when I try to write data to the HTTPListenerResponse Object through a buffer. i). System.Net.HttpListenerException: An operation was attempted on a nonexistent network connection at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size) ii) System.Net.HttpListenerException: The specified network nam ...Show All

  • SQL Server Triggers

    Hi, i an new here. I just started with Sql Server 2005 Express. But my problem is not in technical issues, but programming. Now, to problem. I have few tables, Meas, Analog, Discrete, Acc and Terminal. Meas is main, have some field of it's own, one primary index key, and on foreign key. Foreign key is coming from Terminal table. Terminal table is stand alone, cause it has no other connections to any other table in this model. Analog, Discrete and Acc have almoust same columns. This tables have no primary index, but foreign keys from Meas table. They exclude each other. Example, meas data with key 1 is in analog table, but not in discrete ...Show All

  • SQL Server Backup File I/o Error

    Guys, Apologies if this is in the wrong section. I have a SQL 2000 database which I backup to a folder on the hard disk using the following command in a Server Agent: BACKUP DATABASE [Multilog] TO DISK = N'C:\MSSQL7\BACKUP\multilog_backup' WITH INIT , NOUNLOAD , NAME = N'Multilog backup', NOSKIP , STATS = 10, NOFORMAT Recently it has been failing with the following error message: Nonrecoverable I/O error occurred on file 'C:\Multilog Database Files\Data\MultiLog_data.MDF'. [SQLSTATE 42000] (Error 3271) Backup or restore operation terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed. Any idea what could be cau ...Show All

  • Visual Basic Change DB connection

    I'm developing a windows application based on an Access database. I used the wizard to create the table adapters, relations and so on and all works fine. But using the wizard the connection to the database is hide, the system does the connection by itself. It supposes that the db is stored always in the same location at the same path. I need to use the application changing as needed the database (same structure different data obviously). My goal is to have a menu item like "Change db" where I can browse the file system and choose the db. Can I change the connection of the dataset at runtime How can I do Dado ...Show All

  • Visual Studio File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found.

    Hello, I have migrated my web app from VS 2003 to VS 2005. My app has a page with Crystal viewer to display crystal reports. I am getting the following error. Please help. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found. Source Error: Line 26: <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Cu ...Show All

  • SQL Server Clearing Single User Mode/lock

    What is the best way to clear Single User mode from SQL Server 2000 I have tried going to all tasks and selecting detach and clear Connections using this database. I then click cancel and go into the properties and options and clear the Restrict access check box. This seems to work some times but not all the times. I think it is because something else connects to it to it while I am going through the above steps. As a last resort I have detached the database and re-attach it. What is causing the single user mode to happen in the first place I am a little confused, the system is going into single use ...Show All

  • Visual Studio Help not listed in TOC after install

    Hi All, I am finding a strange problem with the integration of help collection. In our case, help is installed using a VS setup program. This msi is being installed silently as part of another msi install. The help is registered correctly. The help collection is listed in the filter combobox for help-index, contents and search. But, say in contents, no contents from the help is listed. similarly for index, no entries from our help collection are listed. Search also doesn't work. I can get this working by removing our collection from VSCC and adding this again, I have to close and reopen IDE between and after these steps. ...Show All

©2008 Software Development Network