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

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

stallion_alpa

Member List

Anjo Gasa
Mathew1972
renyx
lyqfqy
subhanet
djshades2004
Awais786
Biggo
Didac Pallares
salsabear
padmaster
Mukund R
Will Merydith
Bluehunter
Dr Crs
Uma Hettiarachchy
moh hassan
Bobby Dreamer
Shirvo
jiao
Only Title

stallion_alpa's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. playing audio file with a foot pedal in vb.net

    I've done a lot of seac hin g and grinding snippets of code to try to use my foot pedal. Here's where I am at: I am able to see my device of concern and two others with this line myList = Manager.GetDevices(DeviceType.Device, EnumDevicesFlags.AttachedOnly USB to PS2 Adaptor v1.12 USB to PS2 Adaptor v1.12 USB Footpedal Here's my problem....I can see it, how do I read it's 3 pedal switches on/off states When I look at the deviceinstance properties, I see - odi {Microsoft.DirectX.DirectInput.DeviceInstance} Microsoft.DirectX.DirectInput.DeviceInstance DeviceSubType 0 Integer DeviceType Device {17} Microsoft.DirectX.DirectInput.DeviceType - ForceFeedbackDriver {System.Guid} System.Guid Empty Nothing System.Gu ...Show All

  • Windows Live Developer Forums Polyline Opacity

    Excuse me for probably overlooking something simple :) I'm trying to get semi-transparent polylines to work correctly in Firefox. At present they are showing up completely opaque in FF 1.5.0.7 and 1.5.0.8, but fine in IE7. A sample is: function GetMap() { map = new VEMap('myMap'); map.LoadMap(new VELatLong(-40.3555, 175.615), 13 ,'r'); var pl = new VEPolyline("12345",[new VELatLong(-40.3555, 175.615), new VELatLong(-40.3565, 175.655)],new VEColor(0,255,0,0.5),5); map.AddPolyline(pl); } Is this an issue with FF, my svg engine, or something I've missed Also, on a totally different note, we're porting a prototype app from GMaps, and one thing I feel is that VE methods throw ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Upcoming XNA Game Engine

    XNA Magic (I'd have chosen a different name, but, whatever ) Impressive. Judging by the videos it looks like you've put a lot of work into this system. Do you have an expected release date Also I think you may have used the wrong "shadows" video. There are no shadows in it. ...Show All

  • Windows Forms Batch Files

    First of all i'm not sure if this is the correct section to post my topic. I am writing a batch file to update a file from one computer to another computer. Here is what i do [code] @ECHo OFF NET USE Y: /DELETE NET USE Y: \\francesca\scambio ECHO. ECHO Connected Scambio to letter Y ECHO. SET HOMEPATH=Y:\999 FORM MASTER 4.0\ ECHO. ECHO Set HOMEPATH ECHO. SET DESTPATH=F:\Inetpub\wwwroot2\FORMWebSite1\it\TXT\ ECHO. ECHO Set DESTPATH ECHO. IF EXIST %DESTPATH%Contenuto release Autore FORM.txt DEL %DESTPATH%Contenuto release Autore FORM.txt IF NOT EXIST %DESTPATH%Contenuto release Autore FORM.txt COPY %HOMEPATH%Autore\Contenuto release Autore FORM.txt %DESTPATH%Contenuto release Autore FORM.txt ECHO. ECHO Done ECHO. PAUSE ...Show All

  • SQL Server Replicate database objects that are not dbo ownership

    I have a database called sky and its tables, views, procs and functions owned by sky. I need to replicate the sky database to another server. I had problem because those objects have ownership sky not dbo. I can not change ownership when replicate the database. How do I replicate database objects that are not owned by dbo Is this possible or I have to change ownership from sky to dbo before replicate the database Thank you very much for your input and suggestions. You can specify the source owner and destination owner for a given object, so yes you should be able to replicate objects not owned by dbo. If this is not what you were asking, please let me know what error it is you were receiving. ...Show All

  • Visual C# Formatting dates from string

    Hi there, I have a string thus: 16-12-2006 That I have managed to get looking like this: 16/12/2006 00:00:00 By doing this: string date = System. Convert .ToString(newString); date = System. Convert .ToString( DateTime .Parse(date)); BUT! I cannot for the life of me find out how to make it display is this manner: Sat, 16 Dec 2006 Can anyone help a bit of a newbie out please TIA, d. My comment was invoked by your DateTime.Parse() usage. Glad that you changed in the DateTime.ParseExact(). Even in situations like that, you will probably not use textbox, just out of the box. You will probably have some user control inherited from textbox, or even better is ...Show All

  • Visual Studio Can I debug a SQL script (not a proc) in VS2005?

    I've had no problems debugging procs on VS2005 connecting to SQL Svr 2005. It was easy. However, on the same machine, with the same login, I can't debug a SQL script. I'd never tried just debugging a SQL script. I can't make it work. I added a script to the project, but there are no debug options available for it. I've tried to find forum entries for this, but it seems that all the entries are for folks who can't get debugging to work for procs, which is not my problem. Is debugging SQL scripts an option If so, please give me some steps to follow. Thanks for any guidance! Paul Found the answer here: msdn2.microsoft.com/en-us/ms165045(VS.80).aspx The answer is: You cannot debug a stand-alone SQL script ... ...Show All

  • .NET Development How do I connect to MySQL from Visual Basic 2005?

    Visual Basic 2005 With MySQL How do I connect to MySQL form Visual Basic 2005 Trying to add the data source Server Name: mysql User Name: root p/w: "this is blank Database Name: POS When I test it it says that it was successful but I can not find it to bind to my datagrid. I get the following information on the script: Invalid Data Specifier What am I doing wrong http://www.connectionstrings.com/ carrier=mysql Dim strDataBaseName As String Dim strDBCursorType As String Dim strDBLockType As String Dim strDBOptions As String Dim rs As ADODB.Recordset Dim cn As ADODB.Connection Private Sub Command1_Click() On Error GoTo Command1_Click_Error Dim b as Long strDBCursorType = adOpenDynamic 'Cu ...Show All

  • Visual C# Pointer to objects in C#

    I have an unmanaged C++ library that I call from managed code. One of its methods takes in a structure of function pointers and a pointer to void. Its basically a callback scenario. The problem is that the unmanaged code calls the function in managed code using a "void*". I don't know how to I define a managed function to accept a "void*" for the call from C++. Can it even be done The error I get states that I cant! Error: Cannot take the address of, get the size of, or declare a pointer to a managed type Is there a way around this Mega Thanks in advance for any advice!!! -----------Managed public struct CallBackStruct { public delegate void Func1(IntPtr Class1) public Func1 Func1_CallBack; . . ...Show All

  • SharePoint Products and Technologies Workflow task causing error with forms server.

    I have a form published via forms server. Then I associate the approval workflow with the form. I fill out the form and submit it to the library. Once I finish this process my approver gets an email telling them to review the form and approve the task. They click on the link to review the form and they get this error message: The URL <library>/<filename>.xml is an unsupported relative URL. Use an absolute URL or prefix with '~sitecollection', for a site-collection-relative URL. Any ideas how to deal with this I am old to SharePoint but new to InfoPath and forms server. Thanks Shane - SharePoint Help Hi Shane, I'm getting the same error. Is your form library in a sub site ...Show All

  • Visual Studio 2008 (Pre-release) Loading data from the hard disk

    Hello, I have got some questions about loading data from a hard disk: 1) How to load a text from a .txt file on the hard disk to the TextBlock control 2) How to load an image on the hard disk to the Image control Thanks in advance. 1. TextRange tr = new TextRange (rtb.Document.ContentStart, rtb.Document.ContentEnd); StreamReader sr = System.IO. File .OpenText( @"c:\dir.txt" ); tr.Text = sr.ReadToEnd(); sr.Close(); 2. ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/cpref34/html/T_System_Windows_Media_Imaging_BitmapSource.htm ...Show All

  • SQL Server SQL 2005 Server Agent won't start

    When I attempt to start the Server Agent Service, it tells me it started, but stopped immediately. When I check the log files for the agent, I get the following two entries: 2007-01-03 15:07:11 - ! [241] Startup error: Unable to initialize error reporting system (reason: The EventLog service has not been started) 2007-01-03 15:07:13 - [098] SQLServerAgent terminated (normally) This same error was posted inanother forum and I was directed here. The EventLog is running (I did an SC command) so I am lost. Help Did you check if the event log is full HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Basic hi

    hi to all i am new here i didnt find any forum for java http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=28&SiteID=1 Is the forum for J# That's the best you'll do here... since Java is not a Microsoft technology. You might try the Sun website... ...Show All

  • Visual Studio 2008 (Pre-release) Storyboard pause behavior

    I have a storyboard animation running forever and want to pause it when the element is not visible - the animation continues to run as evidenced by cpu usage. When the animation is running, cpu usage is about 22%. With storyboard sb, sb.stop stops the animation (cpu approx 0%) and returns the visual appearance of the element to the initial appearance. sb.begin(me,true) starts the animation again. When sb.pause is used, the visual appearance freezes and the cpu usage drops to 8-10%. When sb.resume is called, the visual appearance jumps ahead to some appearance proportional to the amount of time since sb.pause was issued. So, it looks like sb.pause freezes the visaul changes but does not pause the animation clock. Is this corre ...Show All

  • Windows Forms I can't get Timer to work...

    I am using a timer in a form to make progress in a progressbar. I want the progressbar to complete in 10 seconds so I sett Maximum to 10000 and Minimum to 0. I init Value to 0 allso. private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { this ->smoothProgressBarControl1->Value = 0; this ->myTimer->Interval = 1; this ->myTimer->Enabled = true ; } private : System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e) { if ( this ->smoothProgressBarControl1->Value < 10000) { this ->smoothProgressBarControl1->Value++; } else { this ->myTimer->Enabled = false ; } } Now there is 1000 miliseconds on 1 second so there should be 1 ...Show All

©2008 Software Development Network