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

Software Development Network >> Wil Burton's Q&A profile

Wil Burton

Member List

Hendo
m0nkeyforce
chaza
Eric_Martin
markovuksanovic
Abhishekbhadouria
shinji360
Brian Driscoll
Michael B. Price
dr.acv
Perarg
Mr.Bean
erbere
ngaisteve1
Krishnan
Artil
chopa
Kevin S Won
Dallastower
Justin Voshell
Only Title

Wil Burton's Q&A profile

  • Visual Basic help: Runtime error: -2147023113(800706f7)': Method '~' of object '~' failed

    Hi I got this error when running a VB application. There is a Microsoft link about it http://support.microsoft.com/ scid=kb;en-us;292744 For some reasons I can't change the codes. But even after I registered the word typelib (I'm using office 2003 so it's MSWord.olb) I still get the same error. The interesting thing is in debug mode(Visual Studio 6) I don't see this error happens. Any suggestions Thanks a lot. liuhongqian wrote: The interesting thing is in debug mode(Visual Studio 6) I don't see this error happens. Any suggestions Thanks a lot. This forum is for question regarding Visual Basic .NET VB6 questions are not answered here....please see the following libnks for further he ...Show All

  • Visual Basic Sendkeys to the active internet window

    Hi there! I'm trying to create a program that (amoungst many others) can send keystokes and mouseclicks, much like a playback of a recorded macro would do, in c# to a java-applet (game) on a website... I looked at several threats in this forum, including the one I found best: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=935288&SiteId=1 , but I have some specific problems with it, I'll explain below... When I invoke the sendkeys method, it sends my keys with a timer with a random interval (much like a human would type), but I encountered something weird: So the form contains one button and one webbrowser object.  However, keys that are send, won't go in the active java applet, unless I personally click on ...Show All

  • Visual Basic Query MySQL Database to Populate List View

    I am working on using a MySQL database to gather data for a list view control of mine and need help. EDIT: See my next post for a better description. well not sure what that has to do with anything but here is specifically my problem, i got this code: Dim connstr As String = _ " Server =****;UserId=****;Password=****;Database=****;Persist Security Info=True" Dim mc As New MySql. Data . MySqlClient . MySqlCommand Dim mcon As New MySql. Data . MySqlClient . MySqlConnection Dim myda As New MySql. Data . MySqlClient . MySqlDataAdapter Dim mydt As New DataTable mc. CommandText = "SELECT * FROM Licenses" ...Show All

  • Visual Basic rich text box control cannot paste.

    rich text box control cannot paste when i select any thing(it may be image or text from internet explorer) and paste it in a msword it has got pasted including image and text when i do the same copy paste in my application which contain the richtextbox control i am unable to paste the images and i can paste only the links of the images can any one help me in pasting the images and text I think the IE control lets you modify the contents... And you wouldn't have to make your own layout engine. Otherwise, get busy making your own little 'mini browser' and layout engine. ...Show All

  • Visual C++ Convert float to string

    I'm using a float stddev variable to gather the standard deviation of a test. If everything goes ok, i get a float into this variable and print it out in my output. If for some reason, the test doesnt go well, it shows a "unable_to_calculate". When that happens, my variable just gets 0.0. But i want to be able to show the user the same "unable_to_calculate" in my output as well. Is there a way to convert float to string How should i do this/ Here's how i'm getting my variable filled sscanf(buf, "Standard Deviation - %f", &stddev); Searching MSDN or this forum should provide an example. Personally, I don't use stringstream to convert native types to strin ...Show All

  • Visual C++ Where should I link?

    Hi, I'm trying to build a DirectX program. I get linking error: main.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function _WinMain@16 I get the error using this line of code: g_D3D = Direct3DCreate9( D3D_SDK_VERSION); Where should I link d3d9.lib, I believe. When you're about to ask such questions, see the documentation which ships with DirectX. Navigate to the referenced function, e.g. Direct3DCreate9, and look for a library reference. ...Show All

  • .NET Development Incompatible source code in team dev. env??

    Hi All, In my VS2005 team, I have two developers who have their font size (DPI setting) set to different size. One leaves his DPI to normal, and the other set to 115%. They both have screen resolution set to 1280 x 1024. The big problem is that, if a form is modified by developer A, and then developer B cannot use it because at runtime, the form will look very unstable with truncated text or bottom cut-off text. I do a code different and found that VS 2005 modifies the size (in size() function) of any control placed on the form as shown below: Dev A (has DPI set to 115%) this.msktbxContactPhone.Size = new System.Drawing.Size(113, 23); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); Dev B (has DPI ...Show All

  • Windows Search Technologies WDS 3.0 behaving erratically

    Hi, I asked about this about two weeks ago, but I only got replies from people having the same problem... I installed WDS 3.0 when asked by Outlook 2007. It only works inside Outlook, and only for e-mail messages. When I try to search files (or words inside files) from the desktop I get strange results. For example: - WDS cannot find a file named "test.docx" when I search for "test.*", but it finds it when I search for "*est.docx" - WDS starts reporting finds when I type "from:", but stops if I type "from:joe" I uninstalled 3.0 and installed 2.6, and it worked as expected. When I re-updated to 3.0, the problems returned. I know I'm not the only one having this problem, ...Show All

  • Visual Studio Express Editions How to using COM in C++ appliaction?

    I generate COM in the following way: Create an ATL project called ATLTransmitAs. Add an IDL file named ATLTransmitAs.idl and paste the following code into it. // ATLTransmitAs.idl : IDL source for ATLTransmitAs // This file will be processed by the MIDL tool to produce // the type library (ATLTransmitAs.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; typedef long DATEXMIT; typedef [transmit_as(DATEXMIT)] struct CUSTOM_DATE { short day; short month; short year; } CUSTOM_DATE; [ object, uuid("AE23C15E-920D-4ffa-B662-7E77E231E951"), helpstring("ICustomDate Interface"), pointer_default(unique) ] interface ICustomDate : IUnknown { [helpstring("method GetDate&quo ...Show All

  • Visual C# Process class used from Windows Service fails

    I'm having trouble with the Process class. I have a Windows Service running as SYSTEM and I want it to spawn processes on behalf of users. I get the user's password there securely and create a SecureString. I get a Win32Exception "Access Denied" on Process.Start. If I run the service under the same account as the user I want to start for, I still get the exception except it says "The handle is invalid". I've checked and checked the SecureString and I've made it read-only so I don't think that's it. I actually had gotten it to work some time ago if I impersonate the client but this isn't really practical since the job can be queued up waiting for some time. I've signed all the assemblies involved and I've given the ...Show All

  • SQL Server How can I use the Variables in SQL Execute SQL task?

    I define a package variables "varOutTable" and "varFromTable". and I insert a SQL Execute SQL Task into Control Flow my sql command is "Select * into @[User::varOutTable] from @[User::varFromTable]" but the task failed, it seems that sql task can't get the varOutTable and varFromTable How can I use the Variables in SQL Execute SQL task thanks!! agentf1 wrote: Are there any examples of doing a select count(*) into a variable For some reason when displaying my variable it looks like it contains -1. That's because your variable is of OBJECT type. If you're returning one row, one value, you can use an integer data type (in this case). ...Show All

  • Audio and Video Development WM Encoder bit rate,fps vs performance

    hi, I am trying to explore the WM Encoder tool for a screen capture. I noticed that the encoder always had a different bit rate and capture rate for each session. I chose to have medium quality output file every time. I am trying to emulate the performance issues i have with my application to help me with the same. I have an application which uses the WM Screen Encoder to do the capture. However, i am facing performance problems. The CPU resources always max to 90+ pc. Is there any way to tune my encoder to give me better performance I am getting a slightly better performance with your tool. But even in the case of the tool the resources max to 90pc often. I was wondering how the bit rate and fps is chosen and how to tune th ...Show All

  • Visual Studio Express Editions Cannot see an attribute from the schema as a field in class

    I am using Visual C# Express 2005. I have an attributeGroup (call it group1) in my schema which includes another attributeGroup (call it group2). The attributes in group2 are not showing up in my objects. Ideas Thanks. The empty xs:attributeGroup tag in group1 isn't closed. And the element named "name2" is of type2 but type2 isn't declared anywhere. I'm assuming those are typos. I tried putting your schema into Visual Studio and it seems to be missing the required xs:sequence around the xs:element in your xs:complexType. Once I added that it seems to work fine. Here's the schema that seemed to work for me when I tested it: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" tar ...Show All

  • Visual Studio Team System Can't run Team Build: Proxy Error (The ISA server denied the specified URL)

    Hello I created a Build Type, set the Machine Name to the build machine name, set the BuildDirectoryPath to C:\Build, and created and tested a drop location with full access to everyone (just to make sure). When I try to run the build, I get the following error: TF42056: The build service could not connect to the Team Foundation Server. The request failed with HTTP status 502: Proxy Error (The ISA server denied the specified Uniform Resource Locator (URL)). Additional info: I am using a virtual PC for the TFServer, and trying to use the same virtual machine as the build machine. I have the TF client installed on both my machine and the virtual one. Everything else is setup and works well, as far as I know. I must be doing so ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C++ or C#

    Hello, I am currently taking a class in C++ and I've always wanted to make games. I downloaded the c# XNA software. My question is: Can I use visual C++ instead of learning a new language (C#) to make games for the XBOX 360 and PC Or would it be better to go ahead and dive in to the new XNA software, and why is one better for gamming applications and / or learning to write games Search the forums, this is a debate which will go on and on forever. If you are learning then right now do whatever is easiest for you - you have plenty of things to learn - and get something finished. As you learn more and decide which direction you want to go then you will be in the best position to decide for yoursel ...Show All

©2008 Software Development Network