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

Software Development Network >> Stefan Wick - MSFT's Q&A profile

Stefan Wick - MSFT

Member List

vbMark
Andre998SFE
msbair
jpoirier
Faris Mlaeb
Albert Raiani
Phillip Putzback
OyvindA
ptoinson
szubara
shsu
KrisRicher
MrPo
Jublar
seeIT
poo
EricSS
LoreHistory
Gajanan Didore
Bruno Braga
Only Title

Stefan Wick - MSFT's Q&A profile

  • Visual FoxPro Zero in Database

    In my table I have a value and it is 0 (zero) but if I check the value with  MyField = 0 it's returns .F. I don't know whats the problem. For a little more on the differences between Blank, Null, and Empty see http://fox.wikis.com/wc.dll Wiki~IsNullIsBlankEmpty  . ...Show All

  • SQL Server SSIS: Fpreach Loop Container- Execute SQL Task with ReturnValue Parameter

    Here's the set up: ForEach Loop Container: Collection: Foreach File Enumerator Variable Mappings: Variable = User::DailyFile, Index = 0 Execute SQL Taks: Connection: OLEDB ResultSet: None SQLStatement: EXEC spGetFile ParameterMapping: VariableName = USER::DailyFile, Direction = Input, DataType=VARCHAR, Parameter = 0 This works great it iterates through a file and looks at all the files checks to see if they have been loaded into the db table, if not it loads the file. My spGetFile has RETURN 1 if a file is loaded and RETURN 0 if the file is not loaded. Now I add a new variable: Step 1: add to Fore ...Show All

  • .NET Development Moving the file while it's still being created

    Hi everyone, I have the following problem. I use FileSystemWatcher.Created event to call a procedure that needs to move that file. Well, Created event should be called Creating, because it raises when file creation begins, and while it is being created. So, my problem is that I can not move the file until process that is creating the file ends. This is my solution: Dim Success As Boolean While Success = False Try Success = True File.Move(sourcePath, destPath) Catch ex As IOException If ex.Message <> "The process cannot access the file because it is being used by another process." ...Show All

  • Visual C++ What happens inside CryptDeriveKey?

    I am translating the CryptDeriveKey to Java but the algorithm implemented doesn't work correctly. The code in Java is: private static byte [] CryptDeriveKey( byte [] key, int size, int algorithmType) throws Exception {     byte [] buffer1  = new byte [64];     byte [] buffer2  = new byte [64];        Arrays.fill(buffer1, ( byte )0x36);     Arrays.fill(buffer2, ( byte )0x5C);     for ( int i = 0; i < key.length; i++) {         buffer1[ i ] ^= key[ i ];            ...Show All

  • Visual Studio schedule for beta and V1 releases?

    Hi, I would like to know if there is a (rough, approx.) schedule for the release of a beta and the final release of V1 of the DSL Tools. A brief summary of the features can be found in my blog entry at: http://blogs.msdn.com/stuart_kent/archive/2005/12/13/503090.aspx and in my reply to the following post, which also comments on the schedule: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=225280&SiteID=1 ...Show All

  • Windows Forms tabpage - tabcontrol XP Visual Styles

    I seem to have a problem with visual styles and tab controls under .Net 2.0 or am I just missing this I've enabled visualstyles using Application.EnableVisualStyles(); within the application all my controls appear to be fine except with I set my tab control to:   tb.alignment = TabAlignment. left; The "Text" of the tab doesn't paint, any help resolving this would be great! Hi Phanf, Please look this link http://www.codeproject.com/useritems/Pankaj_Patel.asp May be it's helpful,But i need to work more in this control. once i have finished some work then i'v uploaded latest ver. on this site...... Enjoyeeeeeeeeeee ...Show All

  • Windows Forms Remote Server Is Unreachable - New Install

    I downloaded the install for the source today.  I ran the install.  Verified that the database was created and that the tables had been poplulated.  Also verified the virtual web was created in IIS. Database and client are on the local system. After the solution was rebuilt and the project was executed I am prompted for a username and password. I  ...Show All

  • SQL Server Blocking updates of a table

    Hi, I've been trying to design a way for me to issue a transaction that: Block all inserts on a table when row X has a certain value (call it A) Add a row to the table with row X containing A Add rows to another table Unblock inserts Commit transaction Is this possible Can anyone give me some pointers as to what to do Thanks in advance! I assume you only want to block Inserts but not Updates, Deletes and SELECTS. You could try using an Insert trigger that would rollback the other transactions until a condition has been achieved. ...Show All

  • Architecture Database Design based on Service Oriented Architecture.

    iam working on a project in which i have a Requirement that , we have some basic attributes of every service such as. Service No , Description , Name , Service Type , in a service Table but we have some service that has more attributes + the simple attributes such as take a example of a service of it department we are creating on a system , such as New User id service , now in this case we have some advance attributes othen then simple , and it can vary to service that every service can have any number of advance services attributes , for this i have currently desing tha Database such that Service Table Advance Attribu ...Show All

  • Visual Studio Sorry - correction to my previous answer

    hi. i have a solution with 40+ projects in it. allmost every time i add a new project, check out a file or do a 'get latest version' one of the projects gets checked out automatically. (its allways the same project). the output window has a message that says 'project nameOfProjectHere was checked out automatically for editing'. however, nothing has been done to that project. none of the files in the project have been changed for ages. the project itself has not been touched for ages. why is it getting checked out automatically all of the time any ideas WM_THX thomas woelfer http://www.die.de/blog Hi Thomas ...Show All

  • Visual C++ How Do I Run/Execute A C++ Project/Application From C++ 2005 Express?

    Is this possible I'm trying to switch from VB 6 to whatever and have written the obligatory 'Hello World' in an effort to test the installation of the Platform SDK, but I can't find Run or Execute any where. I can build as many times as I want to, with no errors, but that is of limited usefulness. If you are wondering why I am asking instead of looking through the documentation, you haven't been using Microsoft products long enough. I assume you want to know the C++ equivalent to VB's Shell.Run/Shell.Exec (and not dynamically compile/build/link/run a cpp file). To invoke an executable using only stan ...Show All

  • Windows Forms Submit a file to a printer in C#

    Is there a easy way to submit a file to a, in windows installed, printer or to a UNC path There is not processing by the driver needed, just passthrough printing. Thanks, System.Drawing.Printing.PrinterDocument uses its PrinterSettings property to control, among other things, where to print.  PrinterSettings.PrinterName is the specific property to change.  The code below will run from the command line - call it with no arguments to get a list of printers installed on your computer.  Otherwise, call it with the name of the printer you want to use (for convenience you can use default as the first argument) followed by the ...Show All

  • Visual Studio Express Editions Trouble creating an Array of Objects

    I'm having trouble creating an array of objects. I created a class StudentInfo. I'd like to create and array Student() of StrudentInfo. At design time I do not know the size of the array. I have attempted many different variations. This is my latest: Public Student() As Object i=0 While Not file.EndOfStream txt = file.ReadLine Student(i) = New StudentInfo() Student(i).myInfo=txt i += 1 End While The code compiles and runs, but in the statement " Student(i) = New StudentInfo() " I get a run time error. The error is {"Object reference not set to an instance of an object."}. If I cha ...Show All

  • SQL Server Slowly Changing Dimension Task Bug???? Got it working.

    I am working with the latest build of SQL Server 2005. VS 2005 8.0.50215.44 (beta2.050215-4400) SSIS version 9.00.1187.00 I had a package that was working fine while using the Slowly Changing Dimension Task. However, with the new version the Historical Attribute for the type II change does not work anymore. I’ve created a very simple test and while running the same package twice, without make any changes to the staging table, I ended up with double the records. Does any one out there experience any of this Thanks -W Hi there, Can you describe what you had to do to get it working again Did you indeed&n ...Show All

  • Smart Device Development UriFormatException or "Could not establish connection to network." error.

    Hello, I have a problem with consuming web service from pocketpc application. I use VS2005. I read that machine name should be used instead of localhost. When I want to access to the web service with my machine name: MAHZEN. Service myservice = new DeviceApplication3.MAHZEN. Service (); myservice.Url = " http://mahzen:1782/Website5/Service.asmx "; // --> mahzen is my machine name. textBox1 .Text = myservice.HelloWorld(); I get : "Could not establish connection to network." error and program stops. and when I change the Url to myservice.Url = " http://10.0.0.10:1782/Website5/Service ...Show All

©2008 Software Development Network