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

Software Development Network >> Martijn Mulder's Q&A profile

Martijn Mulder

Member List

sanwanas
stayPls
ArizonaJoe
kulkis
KZee
tfeirtag
VuaCorona
neil.jin
mohd sufian
Phan
madshi
ahmedilyas
Kaos
AndyL
bbg
darynk21
harcrow
CNB
chiyan
martina76
Only Title

Martijn Mulder's Q&A profile

  • .NET Development Visual Studio 2003.net Databases Connection not working

    I am using Visual Studio 2003.net and trying to get connected to SQL 2005. Is this even possible to do and if not what is the best way to connect to a database with Visual Basic 2003.net. Before I was able to make a connection with VB 2005 express edition and SQL 2005 express edition but this is seeming to be a “no way hosa” kind of thing. . You may be using Visual Studio Standard Edition. If this is the case I believe Visual Studio Standard Edition database tools will only work with Access and MSDE. If you try to connect Visual Studio Standard Edition Database tools to SQL 2005 or SQL 2005 Express edition it will display an error message stating that: It is only possible to connect to SQL Server Desk ...Show All

  • Visual C# Interacting with an external application (process)

    Hello! I'm trying, with VS.Net 2003 and C#, to call an external command line application and retrieve the output several times during its execution (that can be long), so I can track the process and give the user an estimated time to complete. What I did: I created a process and a timer with 500ms tick. I start both at the same time and every tick I read the process' output. The problem: everytime I try to read the output using "StandardOutput.ReadToEnd()", the application freezes and only resumes when the external application is done. Using the search on this forum I found out that I had to use "Application.DoEvents()", so the application could resume the message queue, but it didn't work. So far, that's what I'm doing ...Show All

  • Visual Studio Express Editions 30 day Free Trial

    I am adding "30 day Free Trial" code to my app. I want to write out a file to a secret location with the first run date, etc. Would C:/Windows/System be a good place to put it If you want to avoid allowing the end user to reflect on your code and want to avoid the security setting issue, you could always use a webservice that you are hosting to check registration status. Check out the Shareware Starter Kit ( http://msdn.microsoft.com/vbasic/downloads/starterkits/default.aspx ) for one sample example. Jim Wooley http://devauthority.com/blogs/jwooley ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using Pixel Shader 3.0

    For another project I need to use pixel shader 3.0. When I attempted to get the effect to work in pixel shader 3.0 I noticed that pixel shader 3.0 was not working anywhere. So I even tried using the code from How to: Create Custom Texture Effects. The HLSL code is written to compile it for pixel shader 2.0. When I changed it to pixel shader 3.0 it failed. It gave an InvalidOperationException on the graphics.GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, cubeVertices.Length, 0, 12 );. When I switch back to pixel shader 2.0 the program works just fine. I added code to test which version of pixel shader I have, and I do have pixel shader 3.0 (my video card is 7900gt so it should ...Show All

  • Visual C# Stream does not support seek operation?

    Downloading a bunch of *.csv files I got an exception at #69 (out of total 116): "This stream does not support seek operations."} System.SystemException {System.NotSupportedException} I am wondering if anybody could comment on that. Thanks. Thank you, Tom, I cannot reproduce the error now. I download these files about every day and so far I've done it about a dozen times. Every time this routine worked well except yesterday. It worked this morning as well. For some reason that I do not understand it broke down yesterday. I had no ime to investigate why and I did not repeat a run. I have a control indicator on my form showing me what particular file is being downloaded. You can see that the download code is in a ...Show All

  • .NET Development Setup Error When Installing .NET Framework 3.0 in Windows XP SP2.

    I'm trying to install .NET Framework 3.0 on my computer with Windows XP SP2. When I go to install it is cut short because of a setup error, then it wants me to run a file called dotnetfx3setup.exe which does nothing for the install. Any help would be greatly appreciated. Please elaborate as much as possible. The error log states the following: [02/26/07,01:40:25] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [02/26/07,01:40:52] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [02/26/07,01:40:52] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed. [02/26/07,01:43:13] Win ...Show All

  • Windows Forms Scrolling a panel containing graphics

    I actually call this form from another form. When it loads I see it flicker as it paints, but then it just shows up blank. If I click on the form, then it actually redraws the graphics. The main problem I am having is in the scrolling of the panel. When I scroll it ends up a big mess and doesn't work as needed. I know it has something to do with the AutoScrollPosition.X and .Y, but I've added it to the DrawLine methods in the x1, x2, y1, y2 points and still doesn't work the way I am expecting. I just need it to scroll smoothly. Maybe I don't understand the scroll, but I thought I am still technically drawing at zero even if the scrollbar is all the way down and I have to use the scrollbar position to draw the images so it appears as if it ...Show All

  • Visual Studio Tools for Office parameter passing to winword.exe

    how do i pass parameter to winword.exe and how do i access that parameter to winword.exe using VSTO2005SE let say i want to pas winword.exe 100 and i would like to read the 100 and do computation before i open the document Hi, Word has no facility for allowing arbitrary parameters to be passed (and retrieived) from the command line. If there is a specific problem you are trying to solve, let us know and perhaps we can suggest an alternative solution. Sincerely, Geoff Darst Microsoft VSTO Team ...Show All

  • SQL Server Stored Procedures - restricting access

    Hello everyone, I have a design problem which I am hoping somebody can shed some light on. I am running SQL Server 2000 using SQL authenticaiton (due to be changed to Windows authentication in the next 6 months). I have a table in my database which we shall call monthly. I want to restrict the ability to insert to the monthly table to 2 stored procedures (proc_abc & proc_xy) which I have written which do various other validation checks before it inserts the data into monthly. Users with the Foo function assigned are able to execute proc_abc & proc_xy I have written a VB application which can be used by users who are not familiar with SQL to be able to execute these stored procedures. (Must have Foo function in order to ...Show All

  • .NET Development Passing Windows Identity to multiple servers

    I have a web application that uses Windows Authentication. From this web app, I want to call a web service. Now the tricky part is that I need to pass the identity of the logged on user to the web service as well. There may be some code within the web service for which I want to impersonate the user who is logged on to the web application. Can someone suggest anything on this Please help.. Its urgent. Right now, I am using Windows Authentication for the web service as well. I am not too clear on how to use kerberose user tokens.. can you shed some light on it. ...Show All

  • Smart Device Development timeoutsession in pocketpc application

    Iam using wm5 pocketpc.I want to create timeout session in my pocketpc application which is in vb.net.The application is webservice based.So that i want to create timeout session in my client device application.Is it possible Is there any code snippet for this Please help me Thanx in advance laja wrote: its not working.Is it possible to use session() class in device application.Error occured for declaration of session().What can i do Please help me Iam using wm5 pocketpc. As I already stated, it sounds like the kind of session you're talking about is a web/http session, which only exists in the context of a web application. for a compact framework forms application, there is ...Show All

  • Visual C# Run without building out of date porject

    I have specifically chosen the option of "Prompt to build On Run, when projects are out of date". This used to work. Sometime ago, suddenlly IDE started to always run without prompting to build the out of date project. Does anyone have any clue Thanks. Thanks again, Peter, for following this. I thought I should make a correction of my previous posts. When I said it was working, actually I meant that VS would build the project out of date. Now, VS just starts running the application successfully built last time without building it when it has been modified, so I have to build the proejct then run it. Another instance of VS still builds a changed project before running it automatically. ...Show All

  • .NET Development SQLDataAdapter gets a "General Network Error" only on the server

    My application, for the purpose of resolving this problem, is a windows console application. It connects to Oracle and gets data into a OracleDataAdapter and Dataset. It connects to a SQL server and runs simple queries, deletes, and updates ok. However, when I attempt to perform an action like da.Fill(ds,"TableName") I get the General Network Error, even though I am using an existing open connection to the database. The query that returns the data is fairly complex but the error occurs even when only one rrecord should be returned. I am using Integrated Security=SSPI;Persist Security Info=False; etc in the connection string The error occurs even using an admin account. Heres the gotcha, it works fine for me when I run it on my ...Show All

  • Visual FoxPro Search Company function: Type any letters to find a few similar company names

    Hi all   I create the form to search the company name. I have the long list of company codes & names inside the table (company.dbf).   Form Designer Company Name : <Text1>   <Grid>   Code    |    Company Name     Search Command    Exit Command        For example, let say the company name is Visual Foxpro Ltd. Just type any letters such as ‘Fox’ on <Text1 > and then click on Search Command to get a few company names and u will see the result as below..   Company Name : “Fox”   <Grid>   Code    |    Company Name   FASP &n ...Show All

  • SQL Server SQL 2005 Management Studio

    Is it possible to install the management studio on a workstation I am running SQL Server 2005 on a server and would like to be able to access management studio without having to log onto the server--just like I can do with Exchange System Manager. I haven't been able to find anything out there on this. I'm probably just looking in the wrong places. Thanks. I am also having the same problem. I install Visual Studio 2005 and 2008 before the MS SQL 2005. I keeps telling me that the workstation tools are installed but i don't see it anywhere. ...Show All

©2008 Software Development Network