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

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

wingnut1

Member List

Monah84
Xwebi
Jeremy Corson
Joffies
baoken
KevinBurton
rocky_don
DaPosh
Revin11
Vile
Karenros
CJira
Tony Antonucci
foobarxxyz
m_umair_85
shriny
Bert666
mdpowers
Srikanth Ramakrishnan
djshades2004
Only Title

wingnut1's Q&A profile

  • Windows Forms Checking for special characters in text control

    I have an IP address text box that takes in multiple IP addresses (space separated). I would like to restrict the user to enter only - numbers, "." and whitespace. How should I do it i mean, without having to do a strchr check on every alphabet (lower and upper case, special characters like "! @ # $ %.....". Is there an easy way for me to do this check Advise please... you can check the key they pressed and or check to see if its a digit, space or a period so in the textbox, implement a keypress event. then try this: if (!Char.IsNumber(e.KeyChar) && !e.KeyChar.Equals('.') && !e.KeyChar.Equals(' ')) { e.Handled = true; //we handled it so it wo ...Show All

  • Windows Forms text under mouse pointer

    Hi, I want to get text under mouse pointer in C# but I couldn't get . How can i do this Have you got any idea is there any one who can use WM_GETTEXT Windows Api How can i use WM_GETTEXT api can you send a sample about this thank you I've seen some programmes like Babylon dictionary which have such kinda functionality, it is said that those programmes use some dirty tricks such as using undocumented windows kernel APIs to get such kinda functionality. Sheva ...Show All

  • Smart Device Development RNDIS protocol

    Hi, I am new to windows network driver development. I had some queries regarding RNDIS driver. Since less resource are available on net; any help is always welcome. How can I support new RNDIS compilant device (e.g ethernet adaptor) in my PC. Windows XP and Windows CE .NET operating systems have built-in support for RNDIS. If you plug your PPC or smartphone to the usb port you should be able to see your device enumerated as a Network Adapter in your Device Manager. If you go to cmd and run ipconfig/all you will see one more etehrnet adapter and connection parameters (MAC address, IP address, DHCP, etc). This adapter is virtual and you can use TCP/IP communication to write your application ...Show All

  • Visual Basic Making a window appear at the mouse

    But I want the bottom-right hand corner to appear at the mouse popint. How would I do this Ok .. is this what you were after Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim pt As Point = Windows.Forms.Cursor.Position Dim size As Size = Me .Size Me .Location = New Point(pt.X - size.Width, pt.Y - size.Height) End Sub Richard ...Show All

  • Visual C++ Handle troubleshooting

    hi there i have one little question about handle how to get a handle (i mean the m_hWnd) from existing class(object) is the append a right fuction and another where can I get some information about handling in mfc 'cos i am a little bit confused about this thanks in advance adrian proszczuk, poland ...Show All

  • Visual Studio Team System Request for suggestions on how to set up dependent work items in MS Project's integration into Team System

    Hello All, We are looking for suggestions on how to best set up a work item that are dependent on first the completion of another work item in MS project and have that propogate into Team System. Thanks in advance for your help :) Bob Hanson Is this what related work items are for I added a new work item and when I right mouse button click, I get that option. Thanks for any suggestions offered :) Bob Hanson ...Show All

  • SQL Server DataReader output column length

    Hello, I have an ODBC connection manager to a Progress database. In that database there is a column declared as a string of 10 characters long. However, some data in this column is actually up to 15 characters long. This makes my DataReader Source fail everytime I try to run my package because it sets the output column like this : Datatype : Unicode string [DT_WSTR] Length : 10 Is there any way to solve this without changing the datatype in the Progress database (that is beyond my control) tanks in advance ... Same issue happens to me. We import data from a Thoroughbred basic database. The field can be 12 chars long with 20 chars of data. In the Thoroughbred world, this is just an "integr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compressed texture

    It is possible to create a compressed texture with D3DXCreateTextureFromFileEx. Is it also possible to "manually" create a compressed texture Lets say we create a IDirect3DTexture9 object with the D3DFMT_DXT5 specified. Now you want to fill this texture with data. So, if you lock the texture buffer, you then fill it with uncompressed data and it will be compressed after you unlock it Or do you need to fill the locked buffer with compressed data Also, if you create the texture with several levels of mipmap, after locking the buffer and writting into it, will the object create all the mipmap levels after the unlock You can use D3DXLoadSurfaceFromMemory() to fill a texture's certain m ...Show All

  • .NET Development Unable to read data from the transport connection: The connection was closed.

    I just finished reading the tread at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=112657&SiteID=1 I have two servers that send me a chunked stream of data as a result of an HTTP GET command. Here's the way I saw it on a machine that worked: No. Time Source Destination Protocol Info 3 0.000196 (client) (server) TCP 1863 > http [SYN] Seq=1168239798 Ack=0 Win=65535 Len=0 MSS=1460 Frame 3 (62 bytes on wire, 62 bytes captured) Arrival Time: Aug 18, 2006 08:31:49.483449000 Time delta from previous packet: 0.000005000 seconds Time since reference or first frame: 0.000196000 seconds Frame Number: 3 Packet Length: 62 bytes Capture Length: 62 bytes Protocols in frame: eth: ...Show All

  • Visual Studio Express Editions OperationCanceledException error message?

    Hi everyone. Following on from my previous download post, I am currently getting an error when trying to cancel a download in my app - it just freezes. I get an OperationCanceledException message, so I decided to put in the following code: If OperationCanceled Then MsgBox( "Cancelled....") End Firstly, I am getting an error "Name "OperationCanceled" is not declared" message, and secondly, if someone could kindly help me sort the declared error - would it actually display a dialog and sort itself out Regards, AJ The last argument to DownloadFile() is "onUserCancel". Set it to UICancelOption.DoNothing if you don't care that the download got canc ...Show All

  • Visual Studio Express Editions for each Queue with multiple object types

    Hi there, can anyone help me with my problem I am making a taffic queue application which has a queue object, i enqueue differnt car and lorry objects into it. what i want to do is a foreach statement that will run a method on each object in the queue, but im having probblems because its want them to be of a single type. at the moment i have foreach(Car myCar in myQueue) { myCar.ShowDetails(); } but this wont work if I have a lorry object in the queue i want something that will foreach(car or lorry In myQueue) { car or lorry.showDetails(); } If anyone could help be apprieciated ! thanks :) Both should derive from the same base (CarBase or alike) with a virtual Sh ...Show All

  • Visual Studio Express Editions Simple Graph Howto?

    I have been looking at all of the graph options. They all look very complicated and I dont know where to put my data in: What I want to do I have four places that I get datafrom by date and time. What I would like to do is to make a graph by switch and then by time. So X is hours 1,2,3,4 through 24 and then number of entries which should be 1 through 20 entries. How would I start to do this. eventually I will pull the data from a database but for right now I want to create a simple graph. Thank you,   X-Y Plotting Open Tools | Choose Toolbox items and see if your system has MsChart which will do a variety of plots. Other approaches would be to Google for X-Y plotting software. Here is a thread that may help ...Show All

  • Community Chat new web browser.....check this out

    this is a new fantastic browser bet u like this one   http://10cents.pwp.blueyonder.co.uk/avoca.html screenshots http://10cents.pwp.blueyonder.co.uk/ram.html http://10cents.pwp.blueyonder.co.uk/rap.html http://10cents.pwp.blueyonder.co.uk/rat.html Pretty good for a first time attempt... Though these are not very useful, they are extremely great learning tools. The only way to make good stuff, is to make crappy stuff first, so you know what's crappy and what's good... Now, if you want to make this a good browser, think about what you would need to be in that if you were to use it 8 hours a day. Think of all the features you'd want, the speed requirements, etc., So, keep coding, and keep building new things! ...Show All

  • SQL Server Unable to set variables from script task

    Hi, I have a SSIS package that copies a file from one location and puts in in another with a datetime suffix on the end. This works fine in the script task. I've then added some additional code to the script task to set a variable with this new file location. The variable value gets set in the code, as I have a messagebox displaying the value, but doesn't get set to pass to the next step. Public Sub Main() Dim Filename As String Dim FileLocation As String Filename = CStr (Dts.Variables( "AgencySpendFileNameWithDateTime" ).Value) FileLocation = CStr (Dts.Variables( "FileLocation" ).Value) FileIO.FileSystem.CopyFile(FileLocation + "AgencySpend.txt" , FileLocation + ...Show All

  • Visual C++ binding datagrid control with sql server database

    hi i need to build a dialog based application. next i need to place a datagrid control(registered activx control) and bind it to sql server database..i am completely new to vc++ and do not know what code to be placed and where(in which datagrid class...) please help Thanks Hello Re question: Such questions (general development questions) are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All

©2008 Software Development Network