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

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

kelvfok

Member List

zhu.zheng
Byonksd
rwbogosian
Sara_H
LuckyL
alostdruid
DavidAtPEfiberoptics
S Carter
thaer_r
jaegd
A.Kahn
sqldummy
jzfredricks
pasayten
remedios_
Prerak Shah
hkais
TheViewMaster
minority80
Ajay_1981
Only Title

kelvfok's Q&A profile

  • Visual Studio Team System Command line neede to restart test rig

    Hi all I am using mstest to run the load tests from commandline. I have a batch file which runs mstest in loop to run various loadtests. In between 2 sets of load tests, I want to restart the Test Rig. Is there any commandline which I can use to do so Please help. Thanks Priyanka Hello, The controller/agent are services and you can access them as you would any other service running under Service Manager (for more info on how to do this using the commandline, go here: http://technet2.microsoft.com/WindowsServer/en/library/03928250-2796-4253-8fb1-b25329ddf35f1033.mspx mfr=true ). We don't support custom commands or APIs; you may want to investigate the ServiceController class i ...Show All

  • SQL Server EXECUTE permission denied on object 'sp_OACreate', database 'mssqlsystemresource'

    HI There I have a user login that is executing an sp. It gets the follwoing error: Msg 229, Level 14, State 5, Procedure sp_OACreate, Line 1 EXECUTE permission denied on object 'sp_OACreate', database 'mssqlsystemresource', schema 'sys'. Msg 229, Level 14, State 5, Procedure sp_OAMethod, Line 1 EXECUTE permission denied on object 'sp_OAMethod', database 'mssqlsystemresource', schema 'sys'. Msg 229, Level 14, State 5, Procedure sp_OAMethod, Line 1 EXECUTE permission denied on object 'sp_OAMethod', database 'mssqlsystemresource', schema 'sys'. Msg 229, Level 14, State 5, Procedure sp_OAMethod, Line 1 EXECUTE permission denied on object 'sp_OAMethod', database 'mssqlsystemresource', schema 'sys'. ...Show All

  • Visual Studio Express Editions Random

    i need to make a random function that is only from 1 to 7 and that will not repeat eg 1,2,3,4,5,6,7 random number 3 so 1,2,4,5,6,7 random number 5 so 1,2,4,6,7, random number 6 so 1,2,4,7 and so on. i have tried to make it work but i couldn't I was actually looking for code I wrote, which was smaller than this. But this gets my vote because it creates an object that can be passed to the array, for my money, this is good OO coding and that's why I like it, it reminds me of how the STL works. ...Show All

  • Visual Studio Team System Can exceptions have additional properties?

    The implication of the ImplementStandardExceptionConstructors rule is that exceptions shouldn't really have additional properties; which seems bad. (This started on this earlier thread; http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=135027&SiteID=1 ) Is that really the recommendation If no, then this rule is too aggressive to have a 95% certainty and nothing under the "When to Exclude Messages" section. If yes, then the only difference between all the exceptions is their type name All exceptions classes could really be instantiated out of a single boiler-plate template where you just fill in the new name. In this case, it's a pit I need to write 50 lines of C#. You could imagine it just be: class MyNewExceptio ...Show All

  • Visual C# Error CS0554. user defined conversion to/from derived class

    I have come across a most peculiar compiler error. When I try to define a cast operator to convert from a base class to a derived class I get this error - apparently according to the help "User-defined conversions to values of a derived class are not allowed; you do not need such an operator." Is this as insane as it appears to be or am I missing something somewhere Of course I need to define a cast operator, how else can the compiler know how to create a derived type from a base type Any explanations appreciated. Dave Well, I'll ante up on this. I'm attempting to control the proliferation of type instances to conserve memory use (remember those days :D)  I have a generic id factory with id subtype ...Show All

  • Visual Studio Express Editions Excel::Application ...

    I unable to use this Statement Excel::Application *objApp = new Excel::Application(); Therefore i change this statement to Excel::Application *objApp = new Excel::ApplicationClass(); This Work, but objApp intellisence on objApp is not work. for eg. objBooks = objApp->Workbooks; i unable to c Workbooks after i type objApp-> Any one can help   Excel::Application *objApp = new Excel::Application(); // Unable to pass the compilation //Therefore i change above statement to Excel::Application *objApp = new Excel::ApplicationClass(); // This one able to pass the compilation and able to work, but intellisence is no work.   for eg. objBooks = objApp->Workbooks ; i una ...Show All

  • Visual Studio Wrong Icon Pixel

    I am working for a software company and we use Microsoft Visual Studio to edit all of our dialogs. In our dialogs, we have icons that are displayed as 16x16 pixels in the actual software, but in Microsoft Visual Studio, they are displayed as 32x32. The difference in pixels is a big annoyance as it is very difficult to position the icons when editing under Visual Studio b/c the actual size of the icon will be much different when it is launched in the software. The work around that we came up with is to create a new image type as 32x32 (the original icon is listed as 16x16 in Visual Studio). We then copy the original icon and paste it into the new 32x32 image type. There are a few limitations in this work around and we have thousands of icon ...Show All

  • .NET Development c# sending records to webpage using Inet??

    this function should  help me sending records to webpage and waiting for response from it .. the response  from web page write to me number and this number tell me the situation if the records is sent successfully or there is some validation error >>> this is the code for the function   private void Send_Record( string id, string name, string age, string gender, string number, string dob) { string URL = "http://localhost/web/WebForm1.aspx username=123&password=123"; string Result; try { URL = (URL + ("&id=" + (id + ("&name=" + (name + ("&age=" + (age + ("&gender=" + (gender + ("&number=" + (number + ("&dob=" +dob))))))))) ...Show All

  • Visual Studio Express Editions Load image in picturebox

    i am trying to make one project in Vb to maint employee records with their photos so i have made that table in database with the column for photo as image file but now after i run the program and load the image the image comes , alright but after a few seconds the program gives me a error that "external exception was unhandled" ; genericerror code in GDI+ please guide me how to get the solution for this. the codes i have used is as follows.... Private Sub PictureBox1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click Dim myStream As IO.Stream = Nothing Dim openFileDialog1 As New OpenFileDialog() openFileDialog1.InitialDirectory = "c:\&quo ...Show All

  • Visual Studio 2008 (Pre-release) Acess to IHtmlDocument2 from frame content

    Is there any way to gain access to the html document object model is order to handle document completed events on a Frame element well I wanted to access the actual object that has been loaded, for HTML documents the object returned does not seem to be an IHtmlDocuments or anything that can be cast to that; nor is it the HtmlDocument from WinForms or anything that can be cast to that. How could one parse through the HTML DOM using Frame ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Direct X Texture Tool

    I saw several people asking this in other threads with no response. The tutorial mentions using Direct X Texture tool. Nowhere does it tell you how to get it. Right now I am ASSUMING that it is in the DirectX SDK, but the Installation instructions say you only need the DirectX SDK if you want to use audio. And my game is a space game (big suprise!) so i figured, theres no sound in space, i don't need sound! could someone clear up the confusion for me please p.s. many thanks XNA team, keep up the good work! ...Show All

  • .NET Development Divide by Zero Error [this.Adapter.Fill(dataTable);]

    I am getting a "Divide by Zero Error Encountered" when I run my ASP.NET application. The error looks like is encountered when filling DataSet. I have a GridView on frontpage that is configured to get data from a Dataset which uses Stored Procedure to get data. The SP runs perfectly when I run in SQL Server but I don't know why is it throwing an error when I run from ASP.NET. Any help is really appreciated. I am attaching some images below to give more information: Image of Default.aspx page and DataSet Image of Error Image of Stored Procedure Code Image of Output when Stored Procedure is executed in SQL Server (I have noticed that when stored procedure is executed in SQL server, it returns a Value '0 ...Show All

  • Visual Studio Tools for Office Merging xml data into a WordML Template

    Hi all, We are trying to use Word XML files as a generic template for merging data from a database. Same concept as the old mail merge, but not using XML. We have a schema of our data We create a Word XML document We markup the doc with elements from our schema We extract data from the database in XML format Now we want to take the data from the XML document and replace the tags in the Word XML document to produce a merged document. I am having trouble finding an example of this - can someone point me to something I would prefer if we could use generic tools, such as XSLT. Unfortunately this is an area where I am very weak... thanks Don Don, In the MSDN library (your local MSDN help file system for 2005 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. loading textures on array

    Hi i am making a simple pool game and have my balls in an array (each ball runs through a class to set the properties. i have a Texture2D property to set the texture so i can set the white ball colour and yellow and red ball colour. however i have set up the array and try to draw but it will not accept the array property as a texture it keeps saying it is of null value even though i have set each of the balls here is the code below as you may understand a little more. //ball class for each ball public class balls { public Texture2D tex; public float x; public float y; public Vector2 v = new Vector2 (); public float r = 12.5f; public float m = 10; } //array of ball ...Show All

  • Smart Device Development Problem when serializing messages to be sent over the net

    Hi all, I'm developing few .NET client/server applications that all use the same model of communication - it sends and receives messages using Sockets. When I serialize/deserialize the message I'm using the BinaryFormatter class. Now I need to build my app so that it is executable on Pocket PC. My first problem was that Compact framework 2.0 SP1 does not contain BinaryFormatter. I was looking for any other serializer-class feasible in the CF and have found only XmlSerializer. So I'm using this class. My actual problem with the XmlSerializer is that it does not serialize my object automatically - I mean that I have always to add the XmlInclude attribute. My class structure is like this: [XmlInclude(typeof(NetMessageBase))] ...Show All

©2008 Software Development Network