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

Software Development Network >> Peter Feigl's Q&A profile

Peter Feigl

Member List

sk3636
WXS123
Rastogi
mixxie
Okugops
Jamie Thomson
1PaulS
Nody Online
DevDevil
Hassan Ayoub
T.Vargek
kmcclung
Manmeet Panigrahi
David S. Anderson
Jim Wooley
petrosmj
Ohio Mike
rwerner
dr.acv
Jamie Thomson
Only Title

Peter Feigl's Q&A profile

  • SQL Server File System Task - output file variable syntax????

    Hi This should be incredibly simple and easy, but I can't find any examples of how to do this. I just want to make a File System Task move a file, and have the destination be filename + date and time. For example \\server\share\filename02072007.txt What syntax do I use in a variable to make this work Thanks   kblackwell wrote: Hi Thanks.... Is the System::StartTime the time that this code is "started"   I'm trying to get the hour and minute in there as well... so the file would be \\server\share\filename_020720071238.txt Do you think it would work to use GETDATE() instead of the @[System::StartTime]] Thanks again     System::StartD ...Show All

  • Visual Basic No editor for ".vb" in VS2005 Beta2

    Hi, I have received the VS2005 Beta2 DVD from Microsoft last week, installed it, and it worked fine for a couple of days. Then I went to the .resx file to edit some resource for the project. I then come back to open the .vb file and there it goes, the editor is replaced by a "Catastrophic Error" page  (not an error dialog box) sayiong something is wrong with the VB editor. I quit the IDE and reopen, then reload the vb project up. Quite unusual it starts up with the .resx file and not the .vb file as usual. I then double click on the .vb file from the solution explorer, and then an error box came up: There is no editor available for 'C:\path\somefile.vb' Make sure the application for the file type (.vb) is installed. I w ...Show All

  • Windows Forms How change the DataGridView CurrentRow Index ???

    Hi, I just realized that the CurrentRow.Index property is read-only, I need to select the rowindex programatically since the DataGridView is bounded. That property was really helpfull when it was possible to assign a value, how can I achieve this My problem is that I change the rows order in datatable, I am able to select the new row, but until now, I cannot select the row index, this remains in the original position. Thanks in advance. George Hi Ken, Unfortunately I can't use the mouse, that is I need to move the CurrentRowIndex using buttons, like "up" and "down", if the CurrentRowIndex = 2 and I push the "down" button I need to change the CurrentRowIndex = CurrentRowInd ...Show All

  • SQL Server Sql Query to update a Column when the subquery returns more than one row

    Hi People, I am having a table which has some 10 cols, only one column had all Nulls. DB-SQL2K5 I am now writing a query like Update Test1 set Id = (Select t2.Id from Test2 t2, Test1 t1 where t2.Name = t1.Name) as likely this query is faling as the sub query is retuning more than a row. What is the best method to achive my requirement Thanks MShetty, the query I proposed will work because the correlated subquery works not once, but for all rows in the outer table. Execute it (change update with select :) ) and look at the execution plan-you will get it at once. ...Show All

  • Visual Studio Team System Checking in - Developer Comments & Other Comments

    When checking in code, we put a requirement in that developers must comment what they did in the "Developers Comment" section (Check-in Notes). This is not displayed anywhere, in any email or on any web page in TFS. Regular comments are. Is there a way to display "check in Notes", or instead of doing this, require that developers put comments in the "Comment" section where they see the files they're checking in This way our CSR's can see what our developers comments are when they check in code. You'll need to install the dll on all of the developers machines the VS\common7\ide\privateassemblies directory should do. You also need to create a registry entry under: HKLM\Software\Microsoft\VisualStudio\8 ...Show All

  • Visual C# Unmanaged to managed code

    I have funtion wich was written in C++ and has the signature like this : "DWORD XPTO(BYTE **aux)" I want to use it within C# code but the function has to be declared like: static extern xpto( aux )), I dont know how to translate it!!! Can Anyone help Thanks a lot! Barbara Sorry James, It doesn't compile Cannot marshal 'parameter #1': Cannot use SizeParamIndex for ByRef array parameters. :S Barbara ...Show All

  • .NET Development Determine if a path is a file or a directory

    Hi all! What is the more efficient way to determine if a given path represents a file or a directory in the file system For example: C:\Test.txt -> The function must return a value indicating the path is a file. C:\Windows -> -> The function must return a value indicating the path is a directory. Thanks in advance, Marco. You have to go to the disk to find out, c:\test.txt could be folder, c:\windows could be a file. Use System.IO.FileInfo.Attributes and check for FileAttributes.Directory. For example: public static bool PathIsDirectory(string path) { System.IO.FileInfo info = new System.IO.FileInfo(path); return (info.Attributes & System.IO.FileAttributes.Directory) == System.IO.FileAttributes.Dire ...Show All

  • Visual Studio Team System Why is TFS not available to Empower Program subscriptions?

    My beef is that TFS isn't available to anyone with an Empower Program subscription (except in prohibitively expensive editions). The TFS Workgroup Edition comes for free with Team Edition MSDN subscriptions, but it can't be bought separately. If it could, I would have bought it by now. To me, this makes very little sense. Source control/configuration management is very much a grassroots sell (i.e. it's a decision effectively made by programmers rather than by 'bigwigs'), and making TFS widely unavailable means far fewer people able to sing its praises to their peers. I work with several configuration management tools, and I'm able to engage in intelligent discussions with clients about CVS, per:Force, even good old SourceSafe, but ...Show All

  • Visual Studio 2008 (Pre-release) Problem with DatePicker (Kevin's Bag-O-Tricks - January 2007)

    Hi all, I'm having a problem with the DatePicker contained in Bag-O-Tricks. The situation is as follows: 1. I have a DatePicker in my XAML-file. 2. The Value of the DatePicker is bound to the StartDate (DateTime) of my class: Value="{Binding StartDate}" 3. Now, when I run my app, open the DatePicker and click on a date: nothing happens! I put an event handler on 'ValueChanged', and that event only gets called one, when the DatePicker is created and the value is set to the StartDate. It seems that the control doesn't like it when it's Value is set explicitly, because it won't budge from that value. Any ideas on how I can work around this I'm now working with the MonthCalendar, which does not have this problem, but I would like ...Show All

  • .NET Development Instruction and operand types.

    I am working on something that has to analyze the stack behaviour of a method, and I have a question about that: Most arithmetic instructions, like add and sub work on both integer types and floating point types. Most processors otoh use a different instruction for the integer version and the floating point version. I assume that during jitting it's decided which type is on top of the stack, and depending on that, either the integer version or the floating point version is emitted. The thing is that with branching, it would be possible to reach the same instruction with a different type of value on top of the stack. I didn't really know if such code was even allowed, so I made a little test program to try it out:  static clas ...Show All

  • Smart Device Development Target device does not have compatible version of the CLR

    Hi, I'd really appreciate some help if anyone can. When trying to deploy my VB program from Visual Studio 2005 to my PDA (Acer N35) which has Pocket PC 2003 I get the following message: "Unable to load the CLR. The target device does not have a compatible version of the CLR installed for the application you are attempting to debug. Verify that your device supports the appropriate CLR version and has that CLR installed. Some devices do not support automatic CLR upgrade." I am a total newbie and am having real trouble finding what I can do to make the deploy successful. If anyone can give any advice, in as simple terms as possible please (!) I would be eternally grateful! Thanks, Kat AFAI ...Show All

  • SQL Server Transfer database from SQL Server 2000 / 7.0 to SQL Server 2005 Express Edition

    I want to transfer a database located on a older SQL server version mentioned above to an SQL 2005 Express Edition. On a SQL Server 2005 Standard Edition, I did this with the Copy database wizard. But when I try to specify an Express Edition as the destination server I get message telling me that no sql agent is running on the destination server and here I stand What can I do in in this case Thanks for any help Armin I can't transfer the database with Detach/Attach method because in the database are user specific tables which cant be accessed after that. I never found a way to transfer the complete database including logins, users and user specific data exept that of the various transfer managers in the ...Show All

  • Visual C# New to programming, need help starting this program. Any suggestions??

    I had no trouble creating the form, but I don't know where to begin with the code. Any ideas "Piecework workers are paid by the piece. Workers who produce a greater quantity of output are often paid at a higher rate. Use text boxes to obtain the person's name and the number of pieces completed. Include a Calculate button to display the dollar amount earned. You will need a Summary button to display the total number of pieces, the total pay, and the average pay per person. A Clear button should clear the name and the number of pieces for the current employee and a Clear All button should clear the summary totals after confirming the operation with the user. Include validation to check for missing data. If the user clicks on the Ca ...Show All

  • Smart Device Development enable multi-tap on windows mobile 5.0 pocket pc

    How to enable multi-tap support on windows mobile 5.0 pocket pc. I tried to enable it using the following code.. SendMessage(hWnd,EM_SETINPUTMODE, 0, EIM_SPELL); But it is not helping .. Thanks in advance Regards Jaga ...Show All

  • .NET Development Token StartElement in state Epilog would result in an invalid XML document

    when trying to dataset.writexml(strXMLFile) I get this error: Token StartElement in state Epilog would result in an invalid XML document. Please can someone help me, I really am stuck and have no idea why certain XML Files work while others dont. I've added ASP .NET as a user for the xml files with modify permissions so I know this isn't the prob. I can read the XML, create a new row but as soon as I try to write the XML it bombs out. I would be most appreciative if someone could tell me why this happens as I am spent on this prob (never completely) Regards Eric Cann Could you please post what the last successful dsGuestBook.WriteXml(strXMLFile) outputs If the output is big, leave jus ...Show All

©2008 Software Development Network