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

Software Development Network >> Gordon Radley's Q&A profile

Gordon Radley

Member List

Jain1122
ppothier2007
sqlguy12
RLovelett
stensby
Koruyucu
sammy chen
re infecta
dotaboy
Hooper
Wee Bubba
lvance1611a
Jun_1111
Paul Sanders
JV Chevy
Abbbbbs
progames25
AlexTheOne
kastanienreis
Carl Grainger
Only Title

Gordon Radley's Q&A profile

  • Visual Studio Express Editions brace (bracket) matching

    I have both Visual C++ and C# Express Editions installed on my PC. When editing C# programs, brace matching works. i.e. when I highlight a brace in C# it's companion is highlighted. For some reason this does not work in C++ even though I think I have it enabled in the Tools - Options - Text Editor General - Automatic delimiter hightlighting. Am I missing something Thanks!! OK is it me or does anyone else think this sucks big time, why do I need to press keys to see what matches In earlier versions it works by placing mouse over left or right side of bracket now I must press 2 keys ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. really really need help

    ya... umm, about that, I have no idea what im doing. It just seems so... complicated. I understand how to modify games but i'm pretty new at C# considering ive had it for a week. I thought making my own games would be awesome but now im lost sooo....... Can somebody either send me like links where you can download games and modify em or just help to explain it to me If ya can it greatly appreiciated. Thanks again! Hi, one good place to start is the new XNA framework: http://msdn.microsoft.com/directx/XNA/default.aspx It has a sample game which you can check and modify. You also have lots of C# and DirectX tutorials in the net to get you started. Just search for C# DirectX or C# DirectX games. It will ...Show All

  • Internet Explorer Development Changes in WinInet in IE 7 ?

    I noticed that calls to HttpOpenRequest that worked flawlessly in IE6 are now giving a nice ERROR_INTERNET_UNRECOGNIZED_SCHEME error in IE7 Here is an excerpt of the code I use: DWORD dwFlags=INTERNET_FLAG_TRANSFER_ASCII | INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE; hOpen = InternetOpen (_T("Toolbar"), INTERNET_OPEN_TYPE_PRECONFIG , NULL, 0,dwFlags); HINTERNET hSession=::InternetConnect(hOpen,sServer,nPort,NULL,NULL,INTERNET_SERVICE_HTTP,dwFlags,dwContext); hReq=::HttpOpenRequest(hSession,_T("GET"),fullUrl, NULL,sServer,NULL,dwFlags,dwContext); Where sServer is in the form "mydomain.com" and fullUrl is in the form /root/file.ext So how is this fixable Sincerely RyomaEchizen ...Show All

  • SQL Server SQL 2005 sp_send_dbmail with XML in body or as attachment outputs HEX not XML

    Anyone know how to run a Select statement with FOR XML and have the sp_send_dbmail send it out in the proper format When my Select statement is a simple "Select * from TableName" the results appear normal in the email but as soon as I add the FOR XML I get results that look nothing what SQLWB shows (i.e. nice XML). Instead I get text that looks like HEX or something like that. I'm running SQL Server 2005 SP1 on Windows 2003 SP1 set @strSQLQuery = 'Select * from TableName FOR XML path (''Row''), root(''Root'')' EXEC msdb . dbo . sp_send_dbmail @recipients = 'myemail@myemail.com , @body = 'Body of text is here' , @subject = 'My Subject' , @query = @strSQLQuery , @attach_query_result_as_file = 1 ...Show All

  • Visual Basic Making settings mandatory and trusting locations

    Hi everyone, I'm working in a 300+ workstation school site which has 1500+ users. I have installed VB 2005 and setup the settings that I want them to have. How can I restrict Visual Basic so that it's 'profile' settings stay the same for each user after they log off and without an error message saying that it 'can't be written to I have tried restricting the settings file and it gives me an error. Is there a way of turning off the 'auto' saving function of the settings file Secondly, We have redirected all the user accounts to a mapped network drive on the server - ex H:\ . When I make a new project on H:\, it states that it is not a trusted program location... How can I make it so that H:\ is trusted Thanks ...Show All

  • Visual C++ 1.#INF00

    When I divide two float values sometimes I get 1.#INF00. Does anyone know what this means, infinity I seem to get it sometimes when subtracting 2 float values, but that makes no sense. Does anyone know a fix. Thank You Yes, that's infinity, more precise positive infinite (or course negative infinite has a - in front). You get infinity when the result of an operation falls outside of the range supported for the specific data type. In the case of float the range is aprox. -3.4E38 .. + 3.4E38. You can try to use double which has a range of aprox. -1.7E308 .. 1.7E308. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Directx SDK (december 2006) viewer crashes on startup

    Well, the title basically describes what is the problem... I've uninstalled my directx sdk (october), rebooted to make sure things were clean. Then I installed the last SDK (december) and my viewer (directx sdk's viewer for .x and .fx files) simply stopped to work. Whenever I start it, it crashes with the 'send report' error. Any ideas what could've caused this " Ereco wrote: I have the same problem. Any fix Still nothing... I've ran out of ideas of what to do to try to fix it... so, just submitted the error report. Have made a simple project that just plots the mesh on the screen, it's not the most confortable way to work, but at least it helps to test my models until the proper viewer is usable again. Since I'm doing ...Show All

  • Visual C# Converting System.Type to OleDbType

    I can`t find class and methods that convert System.Type to any of dbtypes(OleDbType or SQLType). I know for the mapping tables, but I need conversion methods for all data providers(OleDb, SqlClient, ODBC) . It is not difficult to write that by your own, but I can`t belive that it is not alredy written by Microsoft. missa wrote: I can`t belive that it is not alredy written by Microsoft. Yes, indeed, Ms has provided data readers with methods like follows: Use reader.GetInt32, reader.GetBoolean, reader.GetDecimal, etc. ...Show All

  • Visual Studio Express Editions Accessing data set multiple times

    I have a form where I would like to access a dataset multiple times without changing the results. symbol1 field1 field 2 field3 field4 symbol2 field1 field 2 field3 field4 the second row of data for some reason always matches the first. I have tried 2 different table adapters, 2 binding sources, and 2 different queries. I don't need two different datasets do I Try Me .MutualTableAdapter.FillBytextbox3( Me .Princ1DataSet.Mutual, symbol1.Text) Me .MutualTableAdapter1.FillBytextbox4( Me .Princ1DataSet.Mutual, symbol2.Text) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show("invalid entry") End Try I am trying to retreive ...Show All

  • Internet Explorer Development window.opener.closed and 'Permission denied' on IE 6.0

    have a simple javascript that will reload the parent window. It works fine when when the parent window is open, but I cannot find a way to check if the parent window is closed in IE. The code is: if (window.opener && !window.opener.closed) window.opener.location.reload(); I am getting 'Permission denied' on the window.opener.closed statement. I don't think it is a cross domain issue because the reload works fine when the parent exists. How can I check if the parent exists on IE I tried window.opener.location and window.opener.document.all Thanks I'm having identical problems. The try/catch solution works great, and I'm grateful for the solution. The behavior still makes me feel queasy, though ...Show All

  • Visual Studio Team System Get specific version tells me file is being used by another process

    Sometimes when I select a folder and run the get specific version (I choose latest and check both boxes to force get), TFS will show a message box telling me that some file could not be processed because it was being used by another process. I am assuming this is because another user is either checking a file out or in or is also pulling the latest version. That is, TFS is the "other process". Why doesn't TFS simply retry pulling the file or files instead of waiting until I come back to the office to push the freaking button so the fetch will finish Then to get the file, of course I have to do a get again. Is this a bug or a feature Sometimes I see that the file in the message box has "Latest" marked as "y ...Show All

  • SQL Server Dts Package foreach loop container and Excel connection manager

    How can I use a foreach loop container with an Excel connection manager. It is virtually impossible to configure the ConectionString property through expressions builder. Everything works fine with a Flat File connection manager but when it comes to Excel, I get the following error message: Error 1 Validation error. Extract Four: Extract Four [1]: The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. Tarification.dtsx 0 0 Please ! Heeeelp ! tel me how I can loop through Excel files ! Grant !!!!!! Here is what my problem was : When I created the varFileName variable, I simply did not assign it a value ! I just clicke ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpriteBlendMode - Premultiplied alpha

    So, many people that have done lots of graphics programming know that premultiplied alpha is fantastic ... sadly it seems like there's no support for it in the Sprite system. The only Sprite blending options are Additive and regular Alpha blending. Is there some other way to get the effect of premultiplied alpha (Src + Dst * (1-Src_A)) Obviously I could switch to using the 3D functions to render everything, but given the advantages of premultiplied alpha, it would be really nice if the simpler 2D path supported it. ...Show All

  • SQL Server Populate a variable

    During a dataflow - I like to populate a variable with True or False based on a value in one of the data records. How do I do this excercise  if I use a script - can someone provide me with simple script on how to populate one variable   Thanks heaps         Thanks for answer but not sure I can get it to work. Let me be more specific. I got one record in my table and the "colunm name" can either be "Y" or "N". However I like to convert this Value into my variable "Verify" So if "colunm name" is "Y" => Verify = TRUE if "colunm name" is "N" => Verify = ...Show All

  • Visual Basic Show Pictures in rows (e.g. Emoticons)

    Hello I have a number of small picutures and all of them has the same size. How can I show them in rows in VB2005 Look at this picture: http://www.onh1986.3000mb.com/vb.jpg And when I click one, I want to show it in a separate picture box. How can I do it   Thanks Well what you could do is create, say, a panel control, stick the images on there in any order you want using picturebox controls and then put code in the click event of each one to load up a picture preview form to display the image. If you need the scrollbars, simply put a panel control inside another panel control and put scrollbars into it. If you'd like me to send you some sample code, I'd be happy to do s ...Show All

©2008 Software Development Network