Software Development Network Logo
  • Visual C#
  • VS Team System
  • Windows Vista
  • Visual Studio
  • SQL Server
  • Smart Devicet
  • Game Technologies
  • .NET Development
  • Visual Basic
  • Windows Forms
  • Visual FoxPro
  • IE Development
  • SharePoint Products
  • Audio and Video
  • Microsoft ISV

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

Jameslee20

Member List

sapo
UllaH
kundalani
M Sivakumar
rmichaels
Thomas Weiss
Kulbhushan Sharma
vannielou
soconne
jaimlin
Rob McGill
dataMonkey
the_chad
Ori'
ivanchain
AlfonsAberg
Goonie
Pi314159
MarilynJ
Gregor Jovan
Only Title

Jameslee20's Q&A profile

  • Visual C++ C# and C++/CLI sharing objects

    Hi guys, I really need some help on this as i'm going slowly insane. What I have is a windows service written in C++/CLI exposing an object with TCP remoting. The remoted object loads a bunch of other objects from a database into a List<> and keeps them in memory for the lifetime of the service. I have another project which is a C# Winforms application which accesses the service using TCP remoting and wants to get access to an object in the list. However, when my C# project gets the object it seems to get a copy of it rather than a reference to it. All the parameters look the same but if I attempt to update it, the C++/CLI "copy" of it doesn't change. I have an event in the object which fires when a property of ...Show All

  • SQL Server Problems with connecting to SQL database on network

    Hello. I have read many posts and documentation on the subject but have not been able to find the answer.So I am posting here in hope that someone could give me good answer. We are developing an ording system in my company and with weborderingsystem and an backoffice system. We use windows2k3 where sqlserver 2005 is installed and running with our database. Our webapplication is working with this database and is connected to it. This works fine. I am developing backofficepart whick is an C# application and point of this app is that user can check out sent orders, look up orders and customers. i use C# express to develop this, and use database explorer to try to connect to my the database. My machine is running WinXp pro and serv ...Show All

  • .NET Development DataTable Stripping time from DateTime

    Hi all, I have a problem that I can't figure out again and need some help. I import data into a DataTable and I need a tool to remove the time (ie set all to midnight) from the dates in the DataTable to help with grouping after it has been populated. Inside a loop I do this DateTime dtmBuffer = DateTime .Parse(dtbDataGrid.Rows[intLoopY].ItemArray[intLoopX].ToString()); and then I set the DataTable to just the date part dtbDataGrid.Rows[intLoopY].ItemArray[intLoopX] = dtmBuffer.Date; but the new value doesn't seem to be put into the DataTable - the time portion remains at whatever it was before! Can anyone help with any ideas Justine Hi Ilya, Thanks very much for your help - please understand that I was ...Show All

  • Visual C# Detect registry changes?

    Is there a way to detect registry changes, using a FileSystemWatcher or other Say a DWORD value changes. How can I show an alert that a registry change occured Thanks, You have to use WMI Events to accomplish that. Check out the following support article: Registering for System Registry Events - http://msdn2.microsoft.com/en-us/library/aa393035.aspx It deals with VBScript, but I'm sure that could easily rectified if you need to. :) HTH ...Show All

  • Software Development for Windows Vista Saving a sill picture of a video file

    Hi! I'd like to write a program writing several still pictures of a video file as jpeg to the hard drive. I tried the MediaDetClass and it works, but not for DivX. I'm able to play a video file using the audiovideoplayback from DirectX. Shouldn't it be possible to save the stopped video picture to disk somehow thx michael MediaDetClass md = new MediaDetClass(); md.Filename = videoFile; md.CurrentStream = 0; md.WriteBitmapBits(40, 320, 240, "f:\\test.bmp"); ...Show All

  • SQL Server problem with sql query.

    Hi ya, I have two tables. One is the temporary table called tbl_temp and the other is called tbl_empDetails. I want to run a query that would bring me the records of tbl_temp where there is no corresponding ID present in tbl_empDetails, meaning it shud bring only records where a corresponding records is not available in tbl_empDetails. I tried it but this query doesn't work, it is bringing me the records which are there in tbl_empdetails. How can i do it SELECT DISTINCT tbl_temp . SID , tbl_temp . fname , tbl_temp . lname , tbl_temp . mail , tbl_temp . tel , tbl_temp . mobile , tbl_temp . office FROM tbl_temp , tbl_empDetails where tbl_empDetails . adSID != tbl_temp . SID ORDER BY tbl_temp . lname Try th ...Show All

  • Silverlight (formerly WPF/E) How i perform aniamtion on Canvas.Left property

    Hi, How i perform animation on canvas.Left property , When i try to set Storyboard.TargetProperty = " Canvas.Left " in DoubleAnimation it does't give error but in browser output is not display. code Like This Canvas Name = "MyCanvas " Background = " Red " Canvas.Left = " 200 " Canvas.Top = " 400 " Height = " 200 " Width = " 20 " MouseLeftButtonDown = " javascript:f_animation " > < Canvas.Triggers > < EventTrigger Name = " et " > < BeginStoryboard Name = " bs " > < Storyboard > < DoubleAnimation Storyboard.TargetName = "MyCanvas " Storyb ...Show All

  • Windows Forms How to Create a Download Update Form?

    Hello, I want to know how to use the System.Net.WebClient in my application. Here is the part of the code: System.Net.WebClient client = new System.Net.WebClient(); client.DownloadFile("http://updates.com/index.xml","c:\\update.xml"); That would download the file "index.xml" and save it in the local computer in drive C under a new name "update.xml". I would like my application to determine the file size of the file to be downloaded. I would like to make a progress bar showing the percent downloaded in the file in relation to its file size. Then after, when the download finishes, a MessageBox will appear stating that the download is completed. Even if the progress bar is not included, that wou ...Show All

  • Microsoft ISV Community Center Forums passing data in multiple rows in a recordset

    I have a recordset that consit of 5 rows 6 columns. each column has a name. i would like to retrieve the second row in the recordset. I can read the first row, but I am lost as to read the second row in the recordset... help!! hi, there are a couple of Move methods that let you navigate the rows of a recordset, MoveFirst, MoveNext, MovePrevious, MoveLast and just Move. You need to be wary though as moving back and forward through a recordset using these methods will depend what kind of cursor the recordset was opened with, for example you can't call MoveFirst or MovePrevious if your recordset is using a forward only cursor. ...Show All

  • Visual Basic whe "running programs that are aoutside my own."

    i wanna know were i can find someone to answer this question please. How to Run programs that are aoutside my own is this a development related question What language are you using   if you can give me this information, I can gladly move to the correct forum and answering it ...Show All

  • SQL Server How to to develope a new PlugIN algorithm

    I have a code for Nearest neighbour algorithm, I want to build a datamining algorithm using that code.. I have the following link that includes the source code for a sample plug-in algorithm written in C#. ( managed plug-in framework that's available for download here: )http://www.microsoft.com/downloads/details.aspx familyid=DF0BA5AA-B4BD-4705-AA0A-B477BA72A9CB&displaylang=en#DMAPI . But i am confused on where to insert my algorithm logic Hiya, see this sample plug-in algorithm download below. You should get the ideas for that. Hope it helps. http://sqlserverdatamining.com/DMCommunity/_Downloads/2384.aspx Regards, ...Show All

  • .NET Development FTP Error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

    Hi, I am using a FTP client in my application. This FTP client is a freeware for .NET version1.1. It works fine for all files except two files. But these two files are required to FTP to a mainframe machine. I am able to FTP these two files in command prompt but getting error if I am trying to FTP through my c# application. These two files are giving two different errors mentioned below: 1. Index (zero based) must be greater than or equal to zero and less than the size of the argument list. 2. Input string was not in a correct format. But strangely, if I am trying to FTP these files to a Windows platform then it's getting FTPed successfully. I am also giving right SITE command for mainframe requirement. I am gettin ...Show All

  • Visual Basic In the registery?

    I have written a program that requires a password to be created when it is first run, this is then encrypted and stored on the computer C:/Test.txt . the next time the program is run you enter your password, which is encrypted and compared against the encrypted password on file, and if they match you can use the program. I don't think storing the encrypted password as C:/Test.txt is a good thing, so where is the best place to hide it away, and how is it done Any help, advice or interesting articles will be welcome. Thanks NuyN, But to get the file I just use If File.Exists(Passtxt) Then Passtest = True btnPassCreate.Text = "Enter Password" if it doesn't exist then you create a ...Show All

  • Visual C# Run application from WindowsService

    I have a windows service that needs to start a windows application at a certain time, but when it runs the application, I can't see it, but I can see it in the taskmanager. Any ideas why could be because its running under your account but in a seperate session. You could see what happens if you try to tell it to interact with the desktop (again from the same place you changed the user account to use) however I would advise against this as its bad practice. you should instead create a winform app that sits in the background which does this instead :-) ...Show All

  • Visual Studio Team System Error while editing WorkspaceMapping.xml file to get sources from other TP

    Hi, I know that this Q was asked already on this forum But, I couldn't get really answer for this issue - Way can't I get sources from few team projects when I'm editing the WorkspaceMapping.xml file to get sources from a few team projects My WorkspaceMapping.xml looks like this: < xml version = " 1.0 " encoding = " utf-8 " > < SerializedWorkspace xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " > < Mappings > < InternalMapping ServerItem = " $/TeamProject1 " LocalItem = " D:\Program Files\Microsoft Visual Studio 8\Common7\IDE " Type = " Map " /> ...Show All

©2008 Software Development Network