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

Software Development Network >> Alex-MyRpg's Q&A profile

Alex-MyRpg

Member List

JIM.H.
vitich00
Fraser Drysdale
sennekeennes
BJohansson
pradeep.vutukuri
Dee-roc
moondaddy
thunderchild-ib
Gorav
sllik
Tamas Pocker
doener
glasgow1
akin_l
Chris Crowe
Amde
Kamia111
Ultrawhack
Gustavo Holloway
Only Title

Alex-MyRpg's Q&A profile

  • Visual Studio Team System 411 Length Required

    Hey Everyone, I am a complete newbie to VSTS and have been playing with the webtest functionality to simulate a user going through a purchase on our system. I recorded the web test using the web recorder fine and then had to modify the coded version but get: HTTP/1.1 411 Length Required error when posting back my last page. Any ideas Here is my code for the specific request, can I specify the length somewhere in code Much appreciated, D. request9.ThinkTime = 2; request9.Method = "POST" ; request9.Headers.Add( new WebTestRequestHeader ( "Content-Length" , "3495" )); FormPostHttpBody request9Body = new FormPostHttpBody (); string [] rav = this .Context[ "$HIDDE ...Show All

  • SQL Server Example Project/Package for SQl Server 2005 "Text Extraction"

    Does any kind person have a simple example Package for undertaking 'Text Extraction' on one or two columns of text data in a SQL Server table (the data is not in Unicode) Some Good Pointers for 'Term extraction' http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/datasol.asp (Check out the Example on Extracting Attributes) http://www.sqlserverdatamining.com/DMCommunity/_Tutorials/688.aspx (Need to register for accessing this site - Registration is Free) - Tutorial on Text Classification using SQL Server 2005. Thanks, Loonysan ...Show All

  • Visual C# How to get a variable from another form?

    I have form 1 that receives 2 strings from the user.  When they hit the accept button this form is destroyed and I need form 2 to have the 2 string variables. As an example on form 1 I have public string FirstName public string LastName on form2 I thought I would make a method something like Form1.GetFirstName.  But this doesnt seem to be working.  Any idea or direction you might be able to point me  Edit+   Ok I think I found out how to do it.  I made the 2 variables on form 1 static and this seemed to work. Im not sure if this is a clean way of doing it though, if anyone could giveme some insight. take a look at this too: http://forums.microsoft.com/ ...Show All

  • SQL Server Delete question

    I recently uploaded my old MSAccess database structure/information to the SQLExpress 2005 database. I now need to clean out the data of each table so i can repopulate it with the program i am trying to debug. The problem i am encountering is the same no matter what i do. I think it is just some sort of typo when it comes to the statment, but i am so new to Server that i am not sure. Table: OwnerInfo - fully populated/created SQL Statment: Select * From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. SQL Statment: Delete From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. Am i mistyping the table name or forgetting some sort of punctuation I have tried ( ), [ ...Show All

  • Visual Basic How do I copy bitmap data to a buffer?

    I have an application that displays some images using PictureBox. There is a requirement to toggle between colour and monochrome or grey-scale versions of the image, so I've created a class derived from PictureBox that contains extra bitmaps that hold the various versions of the image, and then when the user switches between them, I just assign the relevant bitmap to the PictureBox. When the image is first loaded, the application generates the monochrome and grey-scale versions from the loaded colour version. This is where the problem lies. For each version of the image, I make a clone of the original, and then loop through X and Y, using GetPixel and SetPixel to change the colour based on a conversion formula. That also works ok, b ...Show All

  • Visual Studio 2008 (Pre-release) ADO.Net and databinding to a listbox

    If I databind an ado.net datatable to a listbox, the content of every listboxitem is a DataRowView, which is fine I guess. But what's the easiest solution to find the matching ListBoxItem if I have a normal typed datarow I wanted to use the ListBox's ItemContainerGenerator.ContainerFromItem(), but this doesn't work as the listboxitems' content aren't the datarows but instead datarowviews. Right now since I haven't found any other solution, I have to iterate through the whole list of listboxitems and compare the datarowview.Row to my typed datarow, which really doesn't seem like a good solution. Suggestions Josh Smith wrote: Ted, You can use ItemContainerGenerator.ContainerFromI ...Show All

  • .NET Development make windows application project

         Am having bunch of web methods I need to make windows application project, add web reference toWEB METHODS and call the methods with parameters. If you are having sugestions/examples plz help me Thanks, Savindra Thanks Glenno, You has given me the valuable sugestion. By this I found what's the pboblem with me, here I has to test the method acceceptrelation() by passing different parameters by making a Console project. And am intrested to share my doughts directly with u. Thanks, Savindra. ...Show All

  • Visual C++ vector of records of varying formats

    I have a file with a variety of record formats and I need to create a vector of the records. The only field in common among all the formats is the record type code. I don't need detailed code but if someone could help remind me how to do this I expect to be able to figure out the details. I have created a sample program for myself in which I have a base class and derived classes. I create a vector of the base class and I can add instances of derived classes to the vector. I can't retrieve the items because they are not the correct type. Am I however headed in the correct direction I can of course do something relatively crude such as create an array of void pointers but I want to use a type-safe solution and such. I know this i ...Show All

  • SQL Server e-mail Delivery report by trigger or user solicitation.

    It's possivel delivery a report after trigger execution ou user solicitation Thanks in advance, Rui Figueiredo Yes, you can externally trigger the execution and email delivery of a report (= report subscription) using the FireEvent SOAP API. Here's a link that explains the required steps: http://blogs.msdn.com/lukaszp/archive/2005/10/07/478391.aspx Also check out the RS script utility that will make it easier fire the event: http://msdn2.microsoft.com/en-us/library/ms162839.aspx ...Show All

  • Windows Live Developer Forums Layer not rendering correctly

    Hi, I am using the "adding a transparent layer SDK sample", however when I change the source image from the one provided to my own image (located on my machine), I get strange results. Specifically the source image becomes tiled ad-infinitum over the entire map surface, instead of staying inside the bounding box. Does anyone have any idea as to what I'm doing wrong Specifically, do any of the following matter: image name, image location, image format (tried both jpg and png), image size, image metadata etc. Thanks for the help, Radu <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" h ...Show All

  • .NET Development Active Validation of Licience

    I have written a program which I would like to licence out at a price/year. But I still don't know how to make the application licence expire. I can use the date but what if someone changes the date on their computer Can somenoe tell me what is the best way to protect my software The only solution I have come up with is to force the customer to do verification checks online every 10 times they use the software. This way I can check with a database and make sure that they still have a licience for it. If so what is the best way to implement this Thank you in Advance for all your help! Here it is: This one is a good approach but weak Security and can be broaken very easily but Take Clues how to create ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Confused about getting sounds to work.

    Hello everyone! I've just read "How to: Add a sound file to your game using XACT" and "How to: Play a sound" in the msdn xna documentation but I'm very confused. I added two wave files to my Wave Bank and dragged them to the left corner (Cue Name panel) of the Sound Bank. They showed up and everything seemed fine. I saved the project inside my project directory inside a subdirectory: <project-dir>\Content\Sounds\sounds.xap. This also added to folders to that directory called Xbox and Win, they were however empty. Then the "How to: Add a sound file to your game using XACT" howto ended. Now I started reading the "How to: Play a sound" howto and I was supposed to have some more files ending in .xgs, .xwb and .xsb. I fou ...Show All

  • SQL Server Table ReportServer.dbo.ExecutionLog: definition of column

    Hi, I'm looking for the definition of 3 columns in the ExecutionLog table. 1. TimeDataRetrieval 2. TimeProcessing 3. TimeRendering What each one of the times include and in what is the unit of this numbers (miliseconds) Thanks, Assaf They are in milliseconds. TimeDataRetrieval is the amount of time spent running the datasources for your report. TimeProcessing is the time spent processing the report. TimeRendering is the time spent generating the output format that you requested (for example, HTML). Note that these are not necessarily additive to the total time required to run the whole report because some activities -- such as timeprocessing and timedataretrieval can actuall ...Show All

  • Visual Studio Exported template does not change assembly name in created project

    Hello. I've exported C# project template that has the following line in project file. <AssemblyName>I5.$projectname$</AssemblyName> When then I create a project based on the template, the real name of assmbly in the project is just $projectname$. How can I override this behaviour of VS2005 You can not change this behaviour with the template itself unfortunately. You would have to write an extension or an add-in that will change the assmblyname property of the project after the project has been loaded. The assembly property is part of the Properties collection you can retrieve for the project object in the automation model (DTE). /Ole ...Show All

  • Visual Studio Team System we are adding unit scrits into load test but it is giving erros like object varible or with block variable not set?

    we are adding unit scrits into load test but it is giving erros like object varible or with block variable not set what could be the problem and weather we need to add any load test plugings into unit test because i don't know what could be the problem .....................pls let me know........... because its very urgent................ A couple of things: 1) Your unit tests need to be thread safe. So if you are accessing any shared variables (e.g. statics, class variables, or singletons), you need to make them thread safe. 2) you should try running the load test under the debugger to try to debug the problem, and break when this exception is thrown. Ed. ...Show All

©2008 Software Development Network