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

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

Jaxsurfer

Member List

Tom McAnnally
Neelam Kothari
thelonesoldier
James Boman
BensonFabonan
enric vives
BDev13
AndriesVermaak
Billr17
MarkBosley
Dariuas
Ameeta Garga
traci779
Andy Johnston
KAlbrecht
KrishnaUNISYS
xinz
Danny Tuppeny
Pete K
Cale Hoopes
Only Title

Jaxsurfer's Q&A profile

  • Software Development for Windows Vista several issues

    Hi, I've found following issues related to non-default desktop on Vista. Has anyone experienced any of them Any info/clue about the cause Any workaround found Thanks in advance! 1. Create a non-default desktop, switch to it and start another instance of "Windows Explorer", start IE7 from start menu or quick launch bar or CreateProcess(), a warning message box pops up mentioning that "You must be an administrator to open Internet Explorer on this desktop. ...". How can we make the second desktop work the same way as default desktop (launch IE7 in low integrity level w/o any dialog boxes) 2 Create a non-default desktop, switch to it and start another instance of "Windows Explorer", from star ...Show All

  • SQL Server Creating an Expression to Modify a Date Field

    In my Derived Column Transformation Editor I have something like this: DAY([Schedule]) + MONTH([Schedule]) + YEAR([Schedule]) where [Schedule] is a database timestamp field from a OLEDB Datasource. I want to produce a string something like: "DD/MM/YYYY" using the expression above, I get something really wierd like "1905-07-21 00:00:00" Help much appreciated! I ended up with this. Thanks for the great help! RIGHT("0" + (DT_WSTR,2)DAY(Schedule),2) + "/" + RIGHT("0" + (DT_WSTR,2)MONTH(Schedule),2) + "/" + RIGHT("0" + (DT_WSTR,4)YEAR(Schedule),4) ...Show All

  • Windows Forms MessageBox not given Focus

    I'm having a problem with my message boxes displaying properly in an application. It was originally written by someone else in C# and I'm not sure why I'm getting this error or even where to look for a culprit. Here's a description of the steps involved to replicate the problem: 1. Open a standard SaveDialog 2. Pick an existing filename to save over 3. Prompt for overwriting does not appear on top of the screen 4. Hitting the ALT key brings the message box to the foreground and allows for the program to continue. I get this same error whenever I call a message box anywhere in the program. I originally thought it was being obscured by controls but that was not the case; the messagebox is not rendered in the foreground ...Show All

  • Visual C++ readind files

    i need to read a file, line by line, EG: ------------test.txt------------ #1 0,1 #2 0,10 #3 0, 20 ------------end file------------ and it would move a picture depending on the chords. i know how to move the picture and parse the text, but how do i get the text line by line If you are using .NET 2.0 then you have the nice convenience of being able to use File.ReadAllLines a static method that lets you specify a filename to read and returns a String[] of the lines read. http://msdn2.microsoft.com/en-us/library/system.io.file.readalllines.aspx Hope this helps. Let us know if you have any further questions ...Show All

  • SQL Server Declare @var????

    I am trying to get a grasp on the Sql Stored procedures it seems i dont really understnad what DECLARE @Date DateTime means I mean i think it means that i am just declaring a varible name Date that will hold a DateTime Value is that correct or is it more to it CREATE PROCEDURE dbo.Tracking_GetStatus AS DECLARE @Date DateTime DECLARE @Begining DateTime DECLARE @Ending DateTime SET @Date = GETDATE() SET @Begining = DATEADD(ss,(DATEPART(ss,@Date)*-1), DATEADD(mi,(DATEPART(mi,@Date)*-1), DATEADD(hh,(DATEPART(hh,@Date)*-1),@Date))) SET @Ending = DATEADD(ss,-1, DATEADD(dd,1,DATEADD(ss,(DATEPART(ss,@Date)*-1), DATEADD(mi,(DATEPART(mi,@Date)*-1), DATEADD(hh,(DATEPART(hh,@Date)*-1),@Date))))) SELECT Vehicl, UpdateTi XCoord, ...Show All

  • SQL Server How to generate an expression that uses the value from a previous column in a matrix???

    I have a RS Matrix element where I am attempting to genrate an expression that uses a value from a previous column. I have had no luck so far... Here's a brief example of the matrix that I am using: =Fields!MonthName (my one and only Column Group) =Fields!ProductName =Sum(Fields!Count) =DifferenceExpressionInQuestion I gotta use a Matrix since the number of months is dynamic. In my test, I have 12 month columns. Under each Month column is a subordinate Count and a Difference column. In the Difference column, I want to calculate the difference in the Count columns relative to the previous month (if the Count for Jan is 15 and the Count for Feb is 27, then Feb's Difference column shoul ...Show All

  • .NET Development Lossed bytes in Converting String to Bye Arrays & vice versa?

    Hi, I need to convert a byte array to string and then the same (or possibly modified) string to byte array. I did it like this. myData=Encoding.ASCII.GetBytes(buffer) where buffer is a byte array and myData is a string. Now later in application I need to convert another string to this buffer. That another string contains exactly the same text as myData contains. So I do like this buffer = Encoding.ASCII.GetBytes(anotherString) Now the length of this buffer should be same as in the first case before conversion. i mean i lost some bytes here...why is that. I tried with other options as well like Encoding.Default, Encoding.ASCII, Encoding.UTF8, .UNICODE etc...but none of them gives the same number of bytes in both cases. ...Show All

  • Visual Basic Type 'tCtl' is not defined.

    Group, please review the following code and help with type 'ctl' not defined. I'm not sure what to do... when i view the local, this shows as: - tCtl {Name = "Label" FullName = "System.Web.UI.WebControls.Label"} System.Type For Each ctl As Control In frm.Controls On Error GoTo WCTL_Err If TypeName(ctl) = "LiteralControl" Then GoTo Skip_Ctl Dim tCtl As Type = ctl.GetType Dim xCtl = CType (ctl, tCtl) '<-- this line keeps showing the tCtl as "Type 'tCtl' is not defined." WCTL_Err: Select Case Err.Number Case Is <> 0 Err.Clear() End Select Skip_Ctl: Next Please help. ...Show All

  • Audio and Video Development Confusion about style:display

    I've set up a screensaver by creating a single style for the images: <style id="PHOTO" style:position="absolute" style:display="none" style:x="0px" style:y="0px" style:width="1920px" style:height="1080px" /> And inserting them into the markup: <div id="PHOTO01" style="PHOTO" style:backgroundImage="url('photo01.jpg')" /> <div id="PHOTO02" style="PHOTO" style:backgroundImage="url('photo02.jpg')" /> <div id="PHOTO03" style="PHOTO" style:backgroundImage="url('photo03.jpg')" /> <div id="PHOTO04" style="PHOTO" style:backgroundImage="url ...Show All

  • Visual Studio Custom HTML

    Hi all, Is there anyway, hack or whatever to put custom HTML in a report. I would like to draw a table. I have seen some posts reference DHTML etc but have not seen where I could insert custom script. Thanks I have found a post by Teo Lachev that says this. SP 1 (scheduled to be released this month) will add support for calling custom javascript code. This will allow you to manipulate the page DHTML model. Currently, you may try the following hack. You can render your report is an HTML Fragment embedded in the hosting page. The posting page (e.g. window_onload) can use DHTML to reference and change the report fragment. What is he referring to then ...Show All

  • Visual Studio Express Editions Axecontrols and Base64 Strings

    Hi all, I am building an app that uses an axecontrol which lets people sign their names electronically into said axecontrol and a method which takes the image of their signature and turns it into a Base64 string. I'm trying to save it into an access database, but it's not working. When I try to save it as the base64 string, it tells me I need to change the field type (in the database) to Base[ ]. Alternatively, when I try to convert the Base64 string into a normal string to save in as a string in the database, it gives me the error message 'Invalid character in Base-64 string'. Anyone have any ideas on how to proceed from here Please I guess the axecontrol is specific to the signature pads software then. I've tried putting i ...Show All

  • Visual C++ Make QuickWatch window resizable

    Please, make the QuickWatch window resizable. With long variable names or values, it is impossible to read. A related improvement would be to set the column widths to match the column contents. This wouldn't solve the long width problem, but would help. Here is what I get, every time: Sign In to Microsoft Connect The Microsoft Passport Network is unavailable from this site for one of the following reasons: This site may be experiencing a problem. The site may not be a member of the Passport Network. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. have problem when using "dynamic looping" in pixel shader.

    how many limitations or difference with C++ when using "dynamic looping" in pixel shader There are quite a lot of differences. Ultimately it boils down to the underlying architecture - CPU vs GPU and in general GPU's tend to prefer static/linear execution. Looping and branching tend to hurt parallelism. Then again, the above depends on which shader model(s) you're using and on what sort of hardware. From what I gather ATI's R500 series hardware is quite good at branching/looping whereas other SM3 parts (e.g. Nvidia's 6/7-series) aren't quite so good. Have a look at the SDK documentation for further details: Pixel Shader Differences , Flow-Control Limitations , SM1 models don't ten ...Show All

  • Software Development for Windows Vista WINSOCK DGRAM socket bind() BUG

    Hi, I think that I found a bug in Vista winsock implementation, I'm not sure where to report, so I'll post it here. Description: If bind() call on datagram socket returns that scocket is in use WSAEADDRINUSE (10048), then next call of bind() on the same socket on a free port returns WSAEINVAL (10022) i.e socket is bound already. How to reproduce: Write a simple program that opens 2 datagram sockets, bind one of them on a free port, then bind the second socket on the same port, so you'll get WSAEADDRINUSE, then try to bind the second socket on a free port and you'll get WSAEINVAL. Test case: WSADATA wsaData; int iResult = WSAStartup(MAKEWORD(2,2), &wsaData); SOCKET Socket1 = socket(PF_INET, SOCK_DGRAM ...Show All

  • SQL Server Restoring an SQL 2005 Server Express DB with a LOG that is to large

    SQL 2005 Express - Database Restore size problem Was this post helpful Hi, I'm trying to restore a SQL Server DB Backup from a SQL Server DB Server on to my Laptop (SQL 2005 Express) When I execute a restore filelistonly command on the backup file, It seems that the Database included is 1GB, but the Log file is 91 GB in size, which exceeds my diskspace. I can restore the Data on its own without the log file, but the the Database stays in "restoring" mode. I've tried to switch the restore flag off ( update sys.databases set state = 0 where name = 'G001' ), but I can`t seem to be able to do it, even if I try to allow updates via: ...Show All

©2008 Software Development Network