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

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

walkswan

Member List

Ralf_from_Europe
Christof Koch
forwheeler
PeterVrenken
NgSG
Chris Spain
joeydj
toughtalk
Mapa3matuk
Jeff Weber
vanderkerkoff
doener
god_of_coolness
Noorul Ahmed
djshades2004
Chuff
pccoder
Tim Cools
pcd
ForEverLearning
Only Title

walkswan's Q&A profile

  • Windows Search Technologies OTP Windows Desktop Search 3.0

    Any ideas as to how you would remove Windows Desktop Search 3.0 dav7id3 wrote: Got it fixed after reading a post in the development forum. deleting something in the registry and reinstalling WDS 3.0 got it to show up in add/remove programs and it uninstalled fine. Thanks for the help though. Would you be able to outline what it was you did in the registry please I have the same problem... Many thanks. ...Show All

  • Smart Device Development ToolboxBitmapAttribute in the CompactFramework ?

    Hi all, I have a smart device .dll project where i have created many custom controls and i would like to set custom icons for them so that i can easily identify them in the toolbox. I have found that this is done through the ToolboxBitmapAttribute for Full framework app, but i can't found how to do this for a compact framework application. Thanks Lucas. Hi, Ilya i haven't seen this previous post, but the answers seems not that right, currently my problem is not to add design time attributes, i know how to do that (and the "Category" attribute is supported in CF2), you can add all the attributes you want through the class diagram view or by directly editing the DesignTimeAttributes.xmta file in your project. I just wanted to ...Show All

  • Windows Forms Binding a datasource to combobox

    I have a ComboBox in my application that is bound to a BindingList through the DataSource property. I am monitoring the SelectedIndexChanged event of the combobox for selection changes made by the user. My problem is that i want the ComboBox to have an empty selection (nothing selected) initially, however upon setting the DataSource property to the BindingList the ComboBox automatically changes selection (from empty) to the first item in the BindingList. Selection also changes (if there is nothing selected) when items are deleted or added to the BindingList (once its bound to the ComboBox). Is there anyway of disabling this behaviour any help would be much appreciated. Sorry still dont und ...Show All

  • Visual C# How do I make both a server and client TCPIP socket

    How do I make both a server and client TCPIP socket. I used to do this all the time in VB6 using winsock. How do I do the same thing in C#. Works similarily in .NET. The Socket class can be used to send and receive data through TCP/IP. Create an instance of the Socket class for the address you want to monitor. Use Listen on the server side to begin listening for requests. When a request comes in use Accept to accept the request. You should consider accepting and processing accept requests on a secondary thread to avoid having the server stall while you process each request. This can be done by accepting the request and then passing it along to a secondary thread that deals with the request. On th ...Show All

  • .NET Development Download using StreamReader

    I need to get a text file off the internet and need to know if I can use the StreamReader to do so. This is what I've tried: Try sreStreamReader = IO.File.OpenText("http://www.blhsdrama.cjb.cc/item.txt") Any suggestions on how do this Try using the HttpWebRequest class. Check out the documentation and some samples here: http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.aspx You should be able to do: Dim req As HttpWebRequest = WebRequest.Create( "http://www.microsoft.com/" ) Dim response As WebResponse = req.GetResponse() Dim stream As StreamReader = new StreamReader(response.GetResponseStream()) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Assemblies Not Referenced

    After installing XNA Game Studio Express 1.0, I get the following error in my Beta 2 project: Error 1 The type 'Microsoft.Xna.Framework.Graphics.SpriteBlendMode' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff'. But it is referenced, and I'm pretty sure it's the right version too. I even tried to copy the code and content files into a new project, but it still gave the error. If anyone can help me I would appreciate it. Thanks. Mark Anderson - DVU wrote: It sounds like you may have just tried to open a Beta 2 project in the final version of GSE. Your program may be looking for the older XN ...Show All

  • Visual C++ Error C2582 when creating a new struct

    Hi, Within a namespace, have declared a new struct like so: public ref struct moveLine { int moveCount; array <move^> ^moves; }; Have declared a member of a class with this data type like so: moveLine m; // note that putting "^" brings up a compile error and in the constructor of the class, I try to implement it with the following code: m = gcnew moveLine; Have also tried this with moveLine(). This line raises the following error: Error 2 error C2582: 'operator =' function is unavailable in 'moveLine' progHead.h 57 Am very tired, and can't figure this out - can't work it out from MSDN documentation either. Hope you can help. Cheers, Fritz ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scaling textures/sprites

    So I'm drawing 2D sprites using the 3D methods. I'm defining 6 vertexes (2 triangles), to create a rectangle, and rendering a texture2d to it, using a pixel shader. Except that things are a little bit more complicated. My main texture actually only has the red values filled in. Then I have another palette texture2d, that's 256x1, and my pixel shader looks like this: float4 ApplyTexture(float2 textureCoordinate : TEXCOORD0) : COLOR { return tex1D(ts2, tex2D(textureSampler, textureCoordinate).r).rgba; } So anyway, back when I was using SpriteBatch, I could specify a destination rectangle, with a width and height, and it automaticly scaled my texture to this size, and scale it using something other than nearest neighbor. In other words, it ...Show All

  • Windows Live Developer Forums The following message could not be delivered to all recipients

    "The following message could not be delivered to all recipients" I keep getting this error msg everytime i try talking to one of my contacts. It was all working fine until all of a sudden i cldnt communicate with them no more.. Also i'm having the same problem on both windows messenger & Windows live messenger.. can someone pls address this issue for me. Yeah, got the same problem around the same time as you did, too. It's only happening with a few contacts and at certain times (usaully around peak usage hours - strange...). It helps sometimes if I switch between my laptop and desktop when it starts happening. If that fails, I just use Web Messenger. It seems to be account-related ...Show All

  • Visual Basic plz help me to know he differences between the following statements

    plz help me to know he differences between the following statements k = Chr(KeyAscii) Like "[0-9.]" k = Not (Chr(KeyAscii) Like "[0-9 -]") k = Chr(KeyAscii) Like "[0-9/]" thank you. Hi, You could use this idea instead.>> Enter the number in a textbox.>> In the textBox changed event Sub do this.>> Dim myNumber As Decimal If IsNumeric(textBox1.text)=False Then MsgBox("Please enter a number.") Else myNumber=CDBL(textBox1.text) EndIf Regards, S_DS ...Show All

  • Internet Explorer Development IE7 Script Error

    Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. Same issues!  We use Windows XP Media Center Ed.  Those issues only occur on my Wife's login ... mine works fine.  To futher that, ...Show All

  • Visual C# how to associate a filetype with a windows service

    suppose i have a custom file format with an extension. how do i associate that file extension with a windows service. suppose when i click on the file with particular extension '.dmz', the particular windows service is automatically invoked. should i use filesystem watcher component. thanks for reading! i am trying to create a simple password based security for a file. when the file of a particular extension is clicked. the service (if it can respond) to ask for username /and or a password. if valid the file is decrypted and the user is allowd access. so can a service respond to file system events such as opening of files etc. if implementing a windows service is a bad idea, how do i go about this project ...Show All

  • Visual C# how to : playlist for music player

    Hi I would like to create a simple music player, and the problem is I don't know how to create a playlist so it could show whole list of songs [ from dataBase ] and if we double click on the song sth happens [ song is playing ]. please help me :) well there are a few things you need to make clear. where will the files be stored so you can play them you dont need to store a playlist into a database, infact it would be inefficient/expensive as it is expensive to work with databases. you should really ideally be storing it into say a serialized object into xml so next time your app starts up, you can deserialize your playlist. This approach also allows you to say store several playlists and open anyone ...Show All

  • Visual Studio Find dialogs do not show up anymore but still function

    I was working in VS today, and everything was working fine for quite some time. But then at one point I tried to access the Find dialog by pressing Ctrl-F, but no dialog popped up. The main window still grayed out like it was being pushed to the back, but nothing came up on top (or in the task bar). I could still type in a word to search for and hit enter and it would search, but that can only get you so far. I closed the app and restarted multiple times, but no change. I checked in regedit for some kind of key that would affect this, but nothing sprung out at me. (There was even a "Find" subdirectory in the VisualStudio registry, but nothing interesting in it) Has anyone ever seen this Any suggestions Thanks in advance. ...Show All

  • Visual Studio 2008 (Pre-release) How to make Database data binding in WPF web broswer Application??

    Hi all: I want to connect my Xbap page with SQL database using SQL data Adapter and DataSet I try to do this but there is an error this error is: Startup URI: D:\walaa Work\XEmployee\XEmployee\bin\Debug\XEmployee.xbap Application Identity: file:///D:/walaa%20Work/XEmployee/XEmployee/bin/Debug/XEmployee.xbap#XEmployee.application , Version=1.0.0.0, Culture=neutral, PublicKeyToken=6b995c520c9daad7, processorArchitecture=msil/XEmployee.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6b995c520c9daad7, processorArchitecture=msil, type=win32 System.Security.SecurityException: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e ...Show All

©2008 Software Development Network