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

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

Lbo

Member List

Ro0ke
numbatit
Eric Krejci
KevinRobinson
Ruther
colecovizion
Chips_in
Jon Stroh
TA123
Romantic_touch
DusanMihajlovic
BillWang
SachaVDK
Learning VB
michael fz
Ron Liu
Bachmo
efarook
PiGuy
helsingfors
Only Title

Lbo's Q&A profile

  • Visual Basic Problem communicating with HTTP

    I am trying to communicate with an RFID reader via HTTP. In an browser window, I can simply enter the following address: http://192.168.0.150/cgi-bin/dataProxy oper=queryTags The reader then returns to the browser an XML encoded message. However, when I try to do this programmatically, I get the following exception: "The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF." The code that I'm trying to use is as follows: Dim R As HttpWebRequest = WebRequest.Create("http://192.168.0.150/cgi-bin/dataProxy oper=queryTags") Dim WR As HttpWebResponse = Nothing Try WR = R.GetResponse Catch ex As Exception Debug.WriteLine(ex.Message) End Try Dim sr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sprite Sheets?

    How can i use a sprite sheet instead of using single sprite files Thanks in advance. When I've done this, I tend to use a BMP or equivalent, with each of my sprites on it. I load it into a single Texture2D as usual. However, when it comes to drawing them, you use the overloaded version of the Draw method, which takes both the screen location rectangle and a source rectange (along with colour and the usual others). This second parameter is the location within the single sheet of the individual sprite I want to display. I'm playing with a Pacman graphic at the moment, so I have a bitmap which is 256 x 128 pixels. Each pacman is 32x32, and I've got 4 rows (representing the 4 possible directions) plus 8 ...Show All

  • Software Development for Windows Vista Compatibility between beta 2 and June CTP

    I'm porting my app to the June CTP and thought that the wire formats would be sufficiently stable to try to convert my client to the June CTP and let it connect with the existing beta 2 server. However, this does not seem to work. I encountered two problems: 1) svc_util returns a number of warnings: Attempting to download metadata from 'http://www.blogoholic.net/blogoholicwebser vice/service.svc' using WS-Metadata Exchange or DISCO. Error: Cannot import the security policy. The protection requirements for the se cure conversation bootstrap binding are not supported. Protection requirements f or the secure conversation bootstrap must require both the request and the respo nse to be signed and encrypted. Error: Cannot import the ...Show All

  • Visual Studio Express Editions How do I set file name to a TCHAR variable?

    Hi, I wanted to revise a downloaded program that I wrote the file name in the program, while will not use an Openfile dialog. However, there is an error of C2440: cannot convert from ' wchar_t ' to 'TCHAR [260]'. The corresponding code is: TCHAR szFileName[MAX_PATH]={0};               //definition szFileName = L'bao.avi';                                         //I give the file name to the variable,  but              & ...Show All

  • SQL Server VS 2005 SP1 brings to program crash of SQL Server Management Studio

    Hi! Well... I've installed: - Windows XP Professional x64 Edition (with latest SPs and updates) - SQL 2005 (with SP1 installed) - VS 2005 I installed SP1 for VS 2005. After it I cannot use SSMS because after attempiting to execute any query or just open Database Engine in Object Explorer, SSMS crashes with the error: .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506) Any ideas how it can be solved Paul Well.. yesterday I've installed the SQL Server SP2... (release, of course) The situation keeps the same. by the way - .NET 2.0 was also reinstalled before... Any ideas Paul ...Show All

  • SQL Server Drilldown Problem Using Parent Hierarchy

    Does anyone know how to create a parent-child hierarchy that can be expanded (ie drilldown capabilities) in reporting services as well as analysis services Currently, I have a dimension with three attributes: parent, child, and key. Everything works fine in Analysis Services. When I click browse for the cube and I add the parent-child hierarchy, Analysis Services autogenerates a drilldown from the top level to the bottom level. However, reporting services doesn't seem to recognize the parent hierarchy as being a true hierarchy. After I add the parent-child hierarchy to a table or matrix, it will only add the very first level. There doesn't seem to be any way for reporting services to autogenerate the drilldown like in Analysis Servic ...Show All

  • SQL Server NoRows SubReport

    Greetings, I have a report which contains three subreports. Each subreport is contained within a rectangle in the main report so I can force a page break after each subreport. In each of the subreports, there is a graphic and a text box on one line, then another text box below those two items, then a table below all that. My problem is that if one of the subreports returns no data, it is resulting in a NoRows sort of situation and not even the graphic and the two text boxes are shown. I understand that you can set a NoRows message, but ideally, I want my NoRows message to be the graphic and the two text boxes, not a plain text message. I'm not sure if this is even possible or at the very least if I could conditionally force a page br ...Show All

  • .NET Development XSLT Param from Querystring issue

    Hey all, I want to view one record from my xml document. The Id for the record is passed through a querystring called "paramId". It is picked up and passed to the XML transform process like this: Dim parameters As XsltArgumentList = New XsltArgumentList parameters.AddParam( "paramId" , "" , Request.QueryString( "paramId" )) XsltProcessor1.TransformArgumentList = parameters From here I don't really know where to go. I've written this, but seem pretty far off: < xml version = " 1.0 " encoding = " utf-8 " > < xsl:stylesheet version = " 1.0 " xmlns:xsl = " http://www.w3.org/1999/XSL/Transform " > < xsl:outp ...Show All

  • .NET Development Conversion problem

    Hi! I need to take a text string from a tab-delimited text file referring to a date and load it into a database (SQL 2005) as datatype datetime. I parse a tab-delimited text file thusly: [CODE] AccountBalance ab = new AccountBalance(); ab.buildType1DataTable(); // METHOD THAT BUILDS THE DATATABLE string[] type1Row = line.Split(new string[] { "\t" }, StringSplitOptions.None); ab.tbl.Rows.Add(type1Row); [/CODE] For each of the columns of the datatable, I define them each like this: [CODE] DataColumn StartDate = new DataColumn(); StartDate.ColumnName = "StartDate"; tbl.Columns.Add(StartDate); ... [/CODE] How can I convert the column with strings that must go into a database column expecting datetime The date string is ...Show All

  • SQL Server How can I access SQL server from SCO Unix?

    We are running SCO Unix 5.0.5. We need a command line sql client that can connect to a MS SQL server running on a windows server. Can someone point me in the right direction I don't want to write a sql client. I just want a command line sql client binary that is ready to work. I want to do something like this in a unix shell script: # sql -s 10.1.2.3 -u username -p password -f sqlcommandsinafile.txt -o sqlresults.txt Any help would be appreciated.... I am not aware of such a cmd line tool on unix. To achieve what you want, you would need to get a hold of a 3rd party unix ODBC driver for SQL server. There is an odbcsql sample that ships with MDAC SDK, you can download the sample and port it to run on Unix ...Show All

  • Visual FoxPro Standard UI

    Hi! I have question for You. I`d like to change the look of my System but I don`t know how do it. The FoxPro (9) brings me standard Toolkit and I am blocked. I am inspired the UI of Vista and I would like to create something similar to it. I know that the people who use foxpro can do it. I need that information, it is very important for me. Help! And let me add Doug Hennig's post on the same topic: Creating Gradient Images the Fast and Easy Way http://doughennig.blogspot.com/2007/02/creating-gradient-images-fast-and-easy.html ...Show All

  • Visual Studio Team System Outlook 2003

    Hello! Is ther VS TFS Plugin for Outlook 2003 I found it only for Word and Excel Regards Simon Simon, There is a (very nice) free Outlook 2003 add-in for TFS available here: http://blogs.microsoft.co.il/blogs/srlteam/archive/2007/02/05/Team-System-Outlook-Addin-_2D00_-v1.0.aspx They are also working on an Outlook 2007 version to be released soon. ...Show All

  • Visual Studio 2008 (Pre-release) PeerChannel Documentation / Resources

    Can I please have some recommendations for documentation, resources and books on WCF PeerChannel Any help will be greatly appreciated. Regards, Luke Hi Luke, PeerChannel docs will be available as part of .Net Fx 3.0 documentation. you can check the developer centers on MSDN or .Net Fx .30 SDK. Couple of blogs on PeerChannel: http://blogs.msdn.com/peerchan/default.aspx http://blogs.msdn.com/kevin%5Fransom/ http://blogs.msdn.com/ravirao/ interesting MSDN article about PeerChannel: http://msdn.microsoft.com/msdnmag/issues/06/10/PeerToPeer/ Hope this helps, -Ram Pamulapati   ...Show All

  • Visual Studio Express Editions timer coding

    hello I basically need to say.. If time is 2 am then run X PROGRAM thanks You can do this programmatically and I'll write something up for. However the XP task scheduler will do this in a very sophicated way with no code. Start | Programs | Accessories | System Tools | Task Scheduler I'll go to work on an example for you though. ...Show All

  • Visual Studio Team System Backup to remote computer and "Local System" service account

    I don't really understand how to do a backup of the SQL databases to a remote file share. Following the instructions in the install guide, I picked "Local System" as the service account for the SQL Server. But that means that backups can't be made to remote file shares, right Also, looking at the SQL documentation, they advice against using "Local System" as the service account for SQL for security reasons. So, two questions>/P> 1) Can I backup to a remote share when SQL Server runs as "Local System" If yes, how I am running in workgroup mode. 2) Can I just change the service account for the SQL Server to a local user account If that same local user account exists on the computer to which I want ...Show All

©2008 Software Development Network