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

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

Steffanp

Member List

Cammyr
Hans1982
Michael Herman - Parallelspace
MJC2006
Dave Matsumoto
Anurodh
KimberlyL
rachbabe
Priyananth
Jocker23
Pr1nce
JTechOnlineGuy
Codegirl
cobain81
Roy mm
Dead Man Walking
Thunder2002
Eissing
x452Alba
vincent90152900
Only Title

Steffanp's Q&A profile

  • .NET Development How can i change ConnectionString at runtime in Data Access Application Block?

    Hello, I used Enterprise Library 2.0 in my application. i want to know that is it possible to change ConnectionString at runtime if we are used Data Access Application Block. Well i have company list in my application and on that based i have to change database name in ConnectinString on selected company name. Hi, OK I'm a bit lost here. Could you further explain what's inside your application block Are you using typed datasets Or a certain kind of datalayer Any additional info would be great. :) Does your Application Block contain a Connection object If so, every connection object has a ConnectionString property and the connection string property is a string that you can modify freely. cheers, Paul June A. Do ...Show All

  • .NET Development Insert passwords to sqlserver

    How can I insert passwords as '*' into SqlServer Thank you hello again I want to ask if i can add system.web Reference to my windows applications and use this Dim x As String = "bilalshouman" Dim y As String = "" y = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(x, "md5") It worked, but is right to do so Thank you ...Show All

  • Visual C# PVInvoke error..

    "A call to PInvoke function 'ResThemer!SPINE_RES.Resourcer::EnumResourceTypesA' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature." This is the error I get when using 'EnumResourceTypes' in kernel32.dll. The call uses a delegate the acts on a callback of a user-defined function, in this case I call 'EnumResourceNames' from within it. I have been trying for two days to translate what the MSDN Library shows you in Cpp but to no avail. Any help on how to do this would be great. The bottom line is that I want to be able to update my programs resource ...Show All

  • .NET Development Deserialize XML that uses "False" instead of "false"

    I need to deserialize a XML file generated by a third-party software. However, this software uses Boolean "False" instead of "false" and I get an exception when i deserialize it. "The string 'False' is not a valid Boolean value." How can i get the deserializer to recongise "False" as boolean Can someone point me in the right direction Thanks ...Show All

  • SQL Server Execution of DTS package after Scheduling.

    Hi All, I have a problem in getting the info about the execution of a DTS Package. I have a SQL-2000 Client installation on my Desktop to connect to SQL-2000 Server Database system to do all of my work. i had a DTS package stored in my SQL Server2000 Local Packages.  Now i have to schedule the DTS Package from my Desktop. And the DTS package is processing some files from a shared network folder. when i used to run the DTS package manually from my desktop my desktop login have access to that shared folder so there is no problem to run the package. suppose i scheduled the DTS to execute on daily basis at 10:00 AM. Now my doubt is wher the DTS will be executed after scheduling, which starts DTS execut ...Show All

  • SQL Server cpu usage @ parallel cube processing

    Hi! We encounter heavy perfomance problems when processing some (up to 8) cubes in parallel mode. Our CPUs are 2x Inten Xeon Dual Core @ 3,06GHz. When starting the processing (out of XMLA or Visual Studio), all of the 4 CPUs (2x DualCore) raise up to full utilization. This would be perfect if it would be the machine's only job to process the cubes. Unfortunately the machine is a Webserver (IIS @ ASP.NET 2.0) and has to run some MDX queries out of our Intranet Site, too. My question: Is it possible to configure the Analysis Services Server just to use 3 (or 2) CPUs Or is it possible to write a special statement into the XMLA script to affect that Sorry about my bad English! Thanks in advance! Regards JohnnyR ...Show All

  • Visual Studio VS2005 and VS2003 coexistence

    After installing VS2005 B2 from the Team System disk, I receive the following error when loading a 2003 project in my VS2003: The following two files are marked as incompatible: C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vspackages\cslangsvc.dll (Version 7.10.3077 [2]) C:\Windows\Microsoft.NET\Framework\v2.0.50215\cscomp.dll (Version 8.0.50215.44(beta2.050215-4400)[4b000050]) Then compiler cannot be used in this configuration.  This is usually caused by installing different flavors of VS and NDP, and not specifying the VS version for the /CompilerSourcePath and /NonNdpSourcePath options when running NdpSetup. I thought VS2003 and VS2005 (Beta 2) can both exist on the same machine.  What is NdpSet ...Show All

  • Visual Studio Team System diffmerge.exe overwriting file

    I'd like to use diffmerge.exe to merge changes from one file into another, as part of our upgrade from VSS to TFSVC. We have already branched our code into TFS and made a few changes to get the code to work with 2005, but some development is still going on with the 2003 version in VSS. At some point I need to merge the changes, and so I'd like to be able to say 'Merge the 2003 file into the 2005 file' which I thought I could do using: diffmerge.exe /merge {1} {0} {1} {1} With {0} being the source (2003) and {1} being the target (2005). This works fine if I specify a new file as the output file, e.g: diffmerge.exe /merge {1} {0} {1} {1}.new But if I leave it as in the first example I get an error saying that the encoding on the ...Show All

  • .NET Development AHHH serial port class

    OK, I have some basic code to send some commands and get some responses back from a serial device. One function calls SerialPort.Write(byte[], int, int), then I call SerialPort.ReadLine() after. This timeout on my serial port is 4 seconds. The data comes base in far less than a second. This process seems to work for about 7 send and receive calls and then starts timing out as if when I send commands after that, it doesn't get anything back, BUT it does. I know it keeps getting stuff back because if i close my app and run hyperterm when I connect to the serial port hyperterm flushes the input buffer and I get everything the .net 2.0 SerialPort class said wasn't there. can someone tell me what exactly I am doing wrong Does the serial ...Show All

  • Visual Studio Express Editions Help In Coding

    I had the following code, how do i actually pass the value from the select statement to the Contactlbl.Text Thanks Protected Sub GoBtn_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles GoBtn.Click Dim objConn As New SqlConnection Dim objCmd As New SqlCommand Dim Value As String = EventCmb.SelectedItem.ToString() objConn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename='C:\Documents and Settings\HP\My Documents\Visual Studio 2005\WebSites\FYP2\App_Data\Event.mdf';Integrated Security=True;Connect Timeout=30;User Instance=True" objCmd.Connection = objConn objCmd.CommandType = CommandType.Text objCmd.CommandText = "SELECT EventTel FROM ...Show All

  • Windows Forms Datagridview

    i need an event in datagridview that will be called for every row that is binded to the grid in windows application. is there an event Hi, AFAIK, there is no such event, You can get DataBindingCompleted at the end of binding. Or u can have RowsAdded even on row addition in DataGridView... if it can help, HTH, ...Show All

  • Smart Device Development Application terminated unexpectedly, and no any message

    Hello I'm creating an application on Windows Mobile 5 using c#. This application uses the WebBrowser control to show a specific website. The problem that i am having occurs when the app runs on the device. (Motorola Q). For some strange reason the application shuts down as soon as it gets to the line : this.webBrowser1 = new System.Windows.Forms.WebBrowser(); which is in the InitializeComponent() method. It does this without an exception. When i connect the device and debug from VS.net 2005. The app shut off and i get a cannot connect to this device message. Could you please provide a cut down, but complete and compliable repro code You can post it here or e-mail it to me (remove “online” form e-ma ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SimpleMesh game component and x2swm

    I've uploaded SimpleMesh game component to use on conjunction with x2swm. Instructions are here: http://astaroth.beatbuggy.net:8080/Images/XNAMagic/SimpleMesh_GameComponent_rm.jpg Download it here: http://astaroth.beatbuggy.net:8080/Downloads/SimpleMesh_GameComponent.zip Instructions: 1) Add the game component to your project. 2) Drag the component onto your game designer. 3) Set the mesh path and mesh name. (i.e media\\ , Dwarf.swm) 4) Put the DrawComponents() call in whichever effect pass you wish. This works for n swm batches. It will continue to work if the texture is missing. Here is the latest x2swm: http://astaroth.beatbuggy.net:8080/Downloads/x2swm_1_0_0_3.zip I forget to mention, to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Decompilable?

    How easily can the games compiled with XNA be decompiled I know .NET and C# can be easily decompiled, so I'm just wondering. Not to be the weenie, but... Isn't it in the non-commerical developers best interest if they can look at other code to learn from it This is how the web became big, any 12 year old could make a web page. If you work as a professional developer , you already know how to protect your source code. If you don't and this is just for fun, protect your content ideas and take credit where credit is due, but be nice and don't hide your code so people can learn from it. Just my 2 cents. ...Show All

  • Windows Forms Making buttons work

    Hi! I am totally new to C++ and I do not know how to make an "Okay" go to a different form. Please Help! thank You! :) Project + Add New Item, select the Windows Form template. Then modify your original main form's header file like this: #pragma once #include "Form2.h" ... System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { Form2^ f2 = gcnew Form2; f2->Show(this); } Here are some walkthroughs . Chris Sells' Programming Windows Forms is recommended too although it's for the wrong language. Using C++ for UI programming is a bit of a dead end... ...Show All

©2008 Software Development Network