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

Software Development Network >> Christian Sparre's Q&A profile

Christian Sparre

Member List

Peter Ritchie
Rikard
Marko B. Simic
_M_
khaladu
dschaller
Harrympower
Dark Pontiac
Pavel M.
Sammy1971
mahima
Mafti
RJDBA
Rhubarb
xlordt
i-developer
RichardCUK
CharlieRussell
Fox Me Up
redcode
Only Title

Christian Sparre's Q&A profile

  • Visual C# Class names not being highlighted.

    This is probably a fairly easy question, and it might belong in a VS forum somewhere but I couldn't find a VS - General forum here. So since I'm coding in C#, I'll try here. I opened VS today and one of my files no longer has the class names highlighted in light blue. It still builds, the site works and everything, but VS doesn't seem to recognize any of the classes or references on that one page. It was fine yesterday, and other files in the web project work. Other files in the same folder work. It's just this one file. Any ideas I can specify in more detail if you need, but I didn't know if this was an easy fix or not. I've seen this problem happen when the application is not in a compilable s ...Show All

  • .NET Development paypal integration???

    i want to integrate widh paypal howwwwwwwwwwwwwwwwww.... i have merchant account.... and making a shopping ws so needs to integrate paypal for credit card transactions sharp bhai i enjoyed what u said..... so now don't just read or write my signature also follow it ;) and u r right about donations i have such plans but not to take inshAllah to give donations....take care ..... khush rahuuu..... always ...Show All

  • Visual Studio Express Editions VB 2005 Telnet ?

    I am trying to send text over telnet from a richtextbox. how can i send the text from a richtextbox or textbox with the code below insted of the message string SEND THIS TEXT. Thanks Frank104 Private Sub richtextbox1_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles richtextbox1.KeyUp If e.KeyCode = Keys.Enter Then message = System.Text.Encoding.ASCII.GetBytes( "SEND THIS TEXT" & Chr(13) & Chr(10)) stream.Write(message, 0, message.Length) ' Send the message to the connected TcpServer. End If End Sub Frank104, It seems that from your code, the encoding of string you send is ASCII. When you change ...Show All

  • Software Development for Windows Vista Setting DesignMode to True

    Hi. Is there a way to set the DesignMode property returned on WorkflowInstance.GetWorkflowDefinition to "true" I'm trying to load that activity on a designer, but it doesn't let me do it because of that property... What I'm trying to achieve is to use the WorkflowMonitor from the my CustomPersistenceService, and not from the TrackingService. Thanks in advance. ...Show All

  • Visual Studio Express Editions calling a batch file when button click occurs

    Hey all, I am brand spankin new to VB and am wondering how to call a batch file when a button click occurs. I have the batch file written, and it works through command prompt. It seems like all the example code I can find on button click events just displays a message. Can anyone point me in the direction of where to look for examples on calling batch files Thanks. My first post in the link below shows one way to launch a batch file. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=618707&SiteID=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture Bleeding when Scaling...

    Hey all, I've rolled my own version of the SpriteBatch to give myself a little more control (mainly to gain different diffuse colours per corner). However, I've found a problem: When I render the quads at a scale other than 1:1, the edges take colours from the surrounding areas. Here's my control "sprite sheet": http://www.grozzler.com/dump/control.png Here's the result: http://www.grozzler.com/dump/screencap.png You can see the squares top and left sides are taking colours from the surrounding texture area. How did Microsoft's SpriteBatch fix this Thanks. Hey, Thanks for your response. It prompted me to do a bit more searching, and it turns out the solution is to subtract 0.5 from every corner to properly ...Show All

  • SQL Server Problem on comparing strings

    Hi All, I've problem on comparing strings with the following SQL statement: select * from events where venue = 'myhome' where venue is of type varchar(50) The above SQL should return something (i.e. I've 3 events hold at my home!) but it return 0 rows. Please kindly help. Thanks, stard may be your column valeus have carrage return (ascii 13+10 = \r\n) character.. When you see the result in GRID VIEW on Query Analyzer you wont find this character.. You can apply the following statement on select.. select * From  Events Where replace(Venue,char(13)+Char(10),'')= 'MyHome' or select * from events where venue LIKE  '%myhome%' -- It may return unexpected additio ...Show All

  • Windows Forms How to set color of the splitter in SplitContainer control?

    Hi, I have a SplitContainer control on the form. I need to set color of the splitter, that even background color of all panels are white, splitter is visible anyways. I cannot find any property, which could do this. Is there is any way to set this Thanks The BackColor does what you want.  If you set the individual panels' BackColor values to something, then set the SplitContainer.BackColor property to something else it will give the appearance that the splitter has a different color. It sometimes tricky to change properties of the SplitContainer.  I find it easier to click on the first panel then pressy Shift-Tab to move the selection the container instead of the panel.  Then yo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is there a way to get the color of the pixel under the mouse pointer?

    Hello! Is there a way to get the color of the pixel under the mouse pointer I’m new with C#. This looks like it will be a nice platform to work with. I like to make 2D board games (Like RISK). I have worked in VB6. I need to be able to click on a land mass and identify it. And with the land masses I work with, they have very rough edges. Here is a whole tutorial on the subject from xnaresources.com: http://www.xnaresources.com/pages.asp pageid=25 ...Show All

  • Software Development for Windows Vista Expanded Memory in Vista for DOS Applications

    A DOS application which requires expanded memory (EMS) is required to be run on Vista. In earlier releases the expanded memory could be set to auto using the command.com->properties->memory tab. Vista does not allow to change this settings due to security reasons. Is there a way of increasing the expanded memory to allow a huge DOS application to run in the Vista environment I wasn't able to edit the "_default.pif" either. I was able to change ownership of it, and give myself write permission, but that didn't help. Maybe booting into safe mode will help, but I have too many program open right now to try that. I'll see later. Tor. ...Show All

  • SQL Server Feedback on Microsoft Connect Site

    I don't know how many folks here log into the Microsoft Connect site occasionally to check suggestions and bugs submitted to Microsoft for SQL Server and SSIS (still called DTS on their list). A small pecentage Almost everyone  (Possibly in this group.) Anyone can vote for feedback they think is important. Theoretically issues with the most votes will get Microsoft's attention first.   Links to a couple new submissions that look interesting:   1. SSMS/QA Style Message Logging for SSIS Execute SQL Tasks 2. ForEach SMO Enumerator Filtering   I vetted these issues in the forum first, so hopefully they're legitimate enough to warrant some useful feedback or even a few high ...Show All

  • .NET Development CommandLine Arguments for a windows application

    How do I determine what commandLine arguments (if any) are present for my C# windows forms application FYI: when debugging your application, you can set some parameters to test it out by going to the Project Properties menu, Debug tab and then enter some values in the Command Line Arguments field. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • SQL Server Apply ranking to a matrix report

    I'm developing a matrix report with a 2-level drilldown for the rows i.e. parent - ITEM-A, child - ITEM-B. I have added a group to display ranks for the ITEM-B group, which displays the ranks based on a custom function that I defined in the report. This rank group is also displayed along with the ITEM-B group when the ITEM-A group is expanded. So when I expand the first ITEM-A, it lists the ITEM-B's with the ranks eg. 1-30, but when I expand the second ITEM-A, the ITEM-B's are listed with the ranks continued eg. 31-40, and so on. I also have a custom reset function for the ranks, but I don't know where to apply this reset function. My question is that, I need the ITEM-B's to be ranked afresh for each ITEM-A. The following example shows wha ...Show All

  • Visual Studio Custom tool window like DSL Details..

    Hi all, I have defined my first little language with the very impressive DSL Tools. When I now work with the application I miss a custom window to handle the (very specific) configuration of some of my model classes. What I need is a tool like the DSL Details tool window so I want to ask if someone has already builds a similar think. Seems like I have two (write an Add-in or a Package) or more options to solve my requirements but I’m not sure what is the best way to do this. Today I’m not very familiar with writing any kind of IDE Extension but after looking in the documentation it looks not really hard. But the first big problem is: How can I call a command from the DSL Designer View to the Add-in and vice versa. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using XNA for a University Project

    Hey all, great community here with loads of great information. I have been considering using XNA for a while, just saving the money to buy a new graphics card for the moment. I'm doing a Game Development degree and have to choose a development framework to use for my next project. The two main choices I narrowed it down to are Quake III and XNA. I guess you would gravitate toward XNA but I noticed there some really smart people here who like a good debate so could you help give me some great advice as to which to choose. I would pick Quake III because its more games industry oriented and would be great experience, also its a complete games engine, with graphics and map editor and AI all built in. For XNA, I would pick it because I'm pr ...Show All

©2008 Software Development Network