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

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

DavidR100

Member List

mate6666
Vassilux
comwizz2
Dan L
ravichandratbv
m14cus
Ilya Haykinson
Kb2yht
cbpd86
Foudre
skapes
-Raitz-
bambuk
tee_user5
黄达
Jonas.S
Ponnurangam
KjellSJ
Aneo
simon burgess
Only Title

DavidR100's Q&A profile

  • .NET Development AccessViolationException when client is terminated

    Hi, We have just migrated our client/server application to .Net 2.0. After that we constant get an unhandled AccessViolationException in the server program when the client program is terminated! The only stack trace I can get is: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored)    at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) In the event log on the server the follo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Pulling Data from ContentManager

    I've got a question on why to use the content manager. Say I have loaded a texture into the content manager - paddle = content.Load< Texture2D >( @"Graphics\paddle" ) as Texture2D ; If I want to access the data from the content manager, would I have to put something like this - sprites.Draw(content.Load< Texture2D >( "Graphics\\paddle" ), new Vector2 ( this .paddle1.Point.X, this .paddle1.Point.Y), Color .White); Or is there an easier way then that Cause if I have made a texture variable, then loaded it into the content manager, why couldnt I just call the variable directly like this - sprites.Draw( this .paddle, new Vector2 ( this .paddle1.Point.X, this .paddle1.Point. ...Show All

  • .NET Development DataAdapter.Update returns error on very simple example?

    Hello, I'm trying to do a very simple data update using the Northwind database...I just want to change the very first element in the table to the word 'Test'. However, I get a run time error of Message="Update requires a valid UpdateCommand when passed DataRow collection with modified rows." What's happening This is supposed to be a super simple test..pulled from one of the examples in the book. Dim dcMSAccessConnection As OleDb.OleDbConnection = New OleDb.OleDbConnection( "Provider= Microsoft.Jet.OLEDB.4.0;Data Source=c:\northwind.mdb" ) Dim daMSAccessAdapter As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter( "Select * from Customers", dcMSAccessConnection) Dim dtMSAc ...Show All

  • SharePoint Products and Technologies MOSS Beta2 trial period expired

    Hi One of our client was using MOSS 2007 Beta2 version. Today they got 'Trial period is expired' message when they try to access the site. Was the Beta2 version good until Jan 2007 What are the next steps to upgrade to RTM Regards Amit Hi Bob Thanks for your reply. I am going to give upgrade a try and see if that works. Otherwise as a last option, I will start from the scratch. I appreciate your help. Best Regards Amit ...Show All

  • Smart Device Development Who has a PPC-6700 Sprint AudioVox Mobile 5 (Can I use GPS?)

    I have the Sprint AudioVox PPC-6700 and I know that it has the built in GPS chipset but everywhere that I search I can not find out how to actually access the API. There are a few of the GPS API references throughout msdn & msdn2 but none have an actual walk through. It is very easy to access the phone API's and contact lists/appointments and whatnot but the GPS is not to be found. As far as the GPS is conserned one could argue that it isn't ment to be programmed or something but the fact is that in all documentation it says that e911 can use the gps and also applications that need your location (such as movie times or resteraunts in your location). I really need to find out how to manage this out even with just a simple quord ...Show All

  • Visual Studio Express Editions Embed video in .exe

    Well ive made my application added a axwindowsmediaplayer, and made the video work, the only problem i have is the user has to have the video in the exact same place i did, is there anway i can make my video built in with the exe As suggested use relative path. For instance if I would make FunApp.exe that contains my application and a movie in the same directory named Fun.mpg I would refer to it as ".\Fun.mpg" even though it actually was in c:\projects\funapp\movie\fun.mpg" while developing. When I set my application to load the movie I know my it is running from Application.StartupPath and can refer the movie as Application.StartupPath + "Fun.mpg" ...Show All

  • Visual C# Cannot Convert ref Class to ref Object

    Hello, I have convert a VB application to C#. I am trying to debug it. I have got one error where I am calling a function proving it an instance of a class to an object as a ref. ClassCompany clsCompany = new ClassCompany(); intCount = ModUtils.gfncintProcessTemplateLoop(ref clsCompany) public static int gfncintProcessTemplateLoop(ref object clsRecordset) I get the following error. cannot convert from 'ref SiteGen.ClassCompany' to 'ref object' gfncintProcessTemplateLoop is a generic function and is used to pass different classes and is the reason why the class is delcares as an object. I also tried casting clsCompany into an Object. intCount = ModUtils.gfncintProcessTemplateLoop(ref (object)clsCompany) Then I got another error saying A re ...Show All

  • Windows Live Developer Forums Retrieving Lat & Lon from an address without a map

    I have a web form that enables users to enter an address, and is supposed to return a latitude and longitude for that address. Unfortunately, I've been unable to find any articles or code that can return these values. Any help is greatly appreciated. Thanks! Hi, I am trying to convert your code to vb.net However, I am having trouble understanding the following code Could you please explain char [] chArray1 = new char [0x100]; for ( int num1 = reader1.Read(chArray1, 0, 0x100); num1 > 0; num1 = reader1.Read(chArray1, 0, 0x100)) { string text2 = new string (chArray1, 0, num1); text1 = text1 + text2; Thanks ...Show All

  • SQL Server Execute Package Task always fails.

    I have a package (i.e. child package) which runs itself perfectly fine without displaying any error. However when I embeded this package inside another package (i.e. parent package) using Execute Package Task. The task always fails. It seems strange enough. The child package has two variables that need to be passed in from parent package. Can any expert here please help out Thanks. - Steve Personally, I do not see that such pain you are taking about. If you are copying a DataFlow task from one package to another; you would need eventually to check or re-define your connection managers; since you may need the same combination of tasks but different connections. Changing the connection managers inside of a task is ...Show All

  • .NET Development FTP and Internet

    Hi, I have been able to successfully download and upload files from my FTP server, but I am still having some problems. For one, I cannot overwrite any files, and also it is lacking deleting, moving, copying, making new folders, etc.. If you could tell me how to do all these that would be great. I am also wondering how I would be able to find the exact URL that the user is at when the website is running in Internet Explorer. Thanks in advance, Tanner For reading from a stream, I use this code... Dim URL As String Dim Creds As New NetworkCredential Creds.Domain = "ftp.optifront.com" Creds.UserName = "main" Creds.Password = "*blocked*&quo ...Show All

  • Visual Studio Express Editions what is concat ?

    i am reading a book and it tells me to type Windows::Forms::DialogResult buttonclicked; buttonclicked = MessageBox::Show( "please click on a button" , "MessageBox::show example 3" , MessageBoxButtons::AbortRetryIgnore); MessageBox::Show(String::Concat( "you clicked on the " , buttonclicked, " button." )); what is concat and why i have to type it thanks akram........... akram_artoul wrote: MessageBox::Show(String::Concat( "you clicked on the " , buttonclicked, " button." )); what is concat and why i have to type it "concat" is short for "concatenate." For more information on methods named ...Show All

  • Visual Studio Extremely poor performance from VS 2005 before and after SP1 install (large files)

    I've been having some pretty significant problems with Visual Studio 2005, which are now to the point where basic tasks have become near impossible. I have a large solution that I'm working with that contains several projects (one C++ COM server, a few C# class libraries, a web service, and a C# Winforms app), and I find that very frequently, the CPU usage on my machine (single P4 CPU on Server 2003) will spike to 100%, and the memory usage in the task manager will increase to 900 Mb or more when doing nothing but editing text in a .cs, .cpp, or .h file. This seems to happen much more frequently on longer files (1000 lines or more). I just had my machine lock up again by adding a single line of code to a header file. By sea ...Show All

  • Visual Basic php editor

    hi there i am making a php editor and i wanna ask about 2 things : 1-what is the regex -not like in the msdn ,coz i got notthing from it,- and can i use something else 2-how can i make the *.php files open with my editor only hi there i stuck again with this : ( i wanna make it select the text that is finds and then unselect it  and putting back the cursor the place it was) here is a code i made to select the emails it finds but it starts selecting from the 1st of the text Function ValidateEmail( ByVal email As String ) As Boolean Dim emailRegex As New System.Text.RegularExpressions.Regex( "^( <user>[^@]+)@( <host>.+)$" ) Dim emailMatch ...Show All

  • SQL Server Business Intelligence Development Studio 2005 Installation Error

    Hello, I'm trying to install the Business Intelligence Component ONLY of the Microsoft SQL Server 2005 Enterprise Edition. We are interested in only giving the BI Development Studio to a User to allow to create reports. The documentation makes it seems as if this is possible - am I wrong It allows me to walk through and select this component, and then it fails and I receive the following error: There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information. For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=50000&EvtType=packageengine%5cinstallpack ...Show All

  • .NET Development System.ComponentModel.Win32Exception:Incorrect Function error in Windows Service using a FileSytemWatcher

    Hello! I have a windows service which monitors a UNC share path for any incoming files and moves them to a new loaction on the same UNC path. The problem is that the windows service is not monitoring the folder( \\AA-11\Infofiles ) for changes but is able to write the changes to another folder on the machine( \\AA-11\Infonewfiles ) when I change the path to monitor as another UNC( \\BB-12\FolderfilesToMonitor ) or local folder(C:\Myfolder). I wrote an eventlog EventLog.WriteEntry("FSWError detected error: " & e.GetException.ToString) in the FSW_Error sub routine and when I checked the eventViewer it had the following entry. "FSWError detected error: System.ComponentModel.Win32Exception:Incorrect Function" I'm not su ...Show All

©2008 Software Development Network