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

Software Development Network >> Peter Freeman's Q&A profile

Peter Freeman

Member List

Rattlerr
MrSock
detzX
Pockey
Dhatri
doener
Doug Peck
sesnir
ABS_BEG
jtalbotfdr
Rathin Padia
Robert3234
Philli
AndyL
White Paladin
Alexie1668
paso
Sql4088
Mürşit Hakan ÇİL
ZopoStyle
Only Title

Peter Freeman's Q&A profile

  • Software Development for Windows Vista Major Problem - VISTA RTM / P5WD2-Premium / ICH7R SATA RAID

    I have tried loading the x32 RTM version of Vista on my P5WD2-Premium with absolutely no luck. I have tried many different ICH7R SATA RAID drivers including the one that comes on the OS DVD. The OS installs but, upon first reboot, the RAID array becomes corrupt and will no longer boot (solid HD light). I have tried RAID0 and 1. Both have the same results. Anyone else seen this issue If so, is there a solution Thanks, Frank Hello ftlee, The MSDN forums are geared more towards developers, I would suggest posting your question over in the TechNet Hardware forums here http://forums.microsoft.com/TechNet/ShowForum.aspx ForumID=714&SiteID=17 as it is more of a technical conf ...Show All

  • Windows Forms Windows Service Problem on 2000 Server

    I have a windows service written in C# on .net 2.0. When it starts it first checks some keys in the registry to make sure they are there. If they are not there it displays a small window to the user to enter them. In the service configuration I have set the Allow Service To Interact With The Desktop. This program works fine on 2003 Server and Windows XP but I cannot get it to work on 2000 Server. It seems it cannot read the registry and is getting stuck somewhere. Does anyknow know if any problems like this on 2000 Server Thanks In Advance. Martin If you, from scratch, create a separate project, and follow the steps described in the following Code Project example, does it work http://www.co ...Show All

  • Visual Basic Add permissions to exe

    I want to add permissions to an vb.net exe. I don't want them in a separate file. What i want is for a user to click on a link in there browser, select run, and have the program run, instead of saying don't have permissions to display window. and no i don't want to use click once, its buggy, and don't work in firefox by default. Just in case check the security settings. Add the site you are trying to run the app from to your 'Trusted Sites' and see if that makes a differences. Also, consider any firewal applications you have installed on the machine. It seems to me that unless you added Code Access Security(CAS) to your application that it is not running at all. That you are getting this permission ...Show All

  • .NET Development Access Violation when doing BeginReceive on a UdpClient

    I'm attaching some code below which demonstrate my troubles. In short, I get an Access Violation thrown when doing BeginReceive after trying to Send() data to a port thats not listening (using UDP). My observations this far: Add a Sleep() between the Send() and BeginReceive(), and you get a SocketException thrown at BeginReceive() instead of the Access Violation Send to localhost, or a host on the same lan (or close, in terms of hops), and you get a SocketException Send to a box on the internet, on a port thats not being listened on, and it'll throw an Access Violation most (90%) of the times tried The Sleep() related observation somewhat gives me the impression that this is related to a race condition. Some overlapped op ...Show All

  • Windows Forms Windows forms with database

    How to populate data from database to windows forms and save as xml file with TABLE's AUTONUMBER as the file name. you can fill a dataset with data from the database using a DataAdapter for your connection (SQL or OleDb) and then save the data using the dataset WriteXml() method. There are many examples on these forums on filling a dataset from a database query   it would also help if you specified what language you are using to develop with as well as the framework version ...Show All

  • Visual C# to run this application, you must first install the following version of the .net framework...

    I wrote an application using studio 2005 professional edition, and then I burn it to a CD, but when other people put the cd into their machine, I got this msg: "to run this application, you must first install the following versions of the .net framework v2.o.50727... how can I make the cd be used in any machine should I put some .net evironment software in the cd to go with my application this seems very un-convinient to use.... free download net framework: v2.o.50727 usa english mircrosoft Here it is net framework: v2.o.50727 Below I would like to mention.......................................................................................................................................! Gif a ...Show All

  • Windows Forms Folder Browser Dialog -- Disk Error

    When using the folder browser dialog, how do you trap or prevent the "There is no disk in the drive. Please insert a disk into drive ..." dialog. This is happening for disk which the system has identified as removable media. Excel doesn't experience this problem, I believe I should be able to achieve the same level of performance. Hello All. RoadGlide: You mention thread timing issues. Is your original app multi-threaded And, did you remove the [STATThread] attribute on the Main function in the vanilla app I know, it's a silly question, but Problem-Solving requires that we always make sure we're all on the same page. ...Show All

  • Visual Studio 2008 (Pre-release) Question about 'IsInitiating' option

    Hi, I'm using the option 'IsInitiating' to force for first call, so I can create a simple autentication approach mixed with 'Certificate' to protect the messages. If I raise an exception on service host, the client receive a `CommunicationException` and not the correct exception. Contract [ ServiceContract (Session = true) ] public interface IOperatorService { [ OperationContract ( IsInitiating = true )] void Enter( string siteID, string username, string password); .. .. } Service [ ServiceBehavior (InstanceContextMode = InstanceContextMode .PerSession, ConcurrencyMode = ConcurrencyMode .Multiple)] public class MyServices : IOperatorService { public void Enter( string siteID, string ...Show All

  • Visual Studio Tools for Office Office 2003 smallbusiness supports vsto?

    Hi, does office 2003 support vsto If no, are there any extension for this version of office to supports vsto Thanks. Here is a link to the System Requirements. What is supported is clearly spelled out for you: VSTO Requirements ...Show All

  • Visual Studio 2008 (Pre-release) VRML to XAML converter?

    Hello! I tried to seek for VRML -> XAML converter, but seem to have hard time finding any. If someone happens to know any (can be commercial also), I'd be happy to hear. Best regards, Kalle Launiala Hi! Yeah I believe the manual steps already exist. We are providing entirely automatic implementation on it though, so just have to keep my eyes open to spot the first one(s) that start to appear on that field :) Br, Kalle ...Show All

  • SQL Server sql server CE supported classes

    ahi all iam new to VS.net 2005 and iam trying to convert ready made application from vb.net 2003 to vb.net 2005 and i cant find the sqlcedataadapter its a windows CE application uses SQL Server CE and i imported the system.data.sqlsrverce and i added the sqlserverce refrence may be its a new classes if you let VS2005 do the conversion for you (by opening the VS2003 project and running the conversion wizard), the older reference to System.Data.SqlServerCe needs to be deleted from the resulting project and then you re-add a new reference to System.Data.SqlServerCe version 3.0.x Darren ...Show All

  • .NET Development Problem sharing custom data types across web services

    Hi all, I'm having a bit of trouble sharing some user defined objects across multiple web services. FYI I'm using visual studio team system, and adding my web services using the application designer, so most of the web service code is auto generated. Alright, this is the situation. I have a class library in which my custom data types are defined, lets say the namespace for this class library is clibrary, and there is a class representing a custom object within this library called CustomObject. I also have two web services, service 1 and service 2, with different namespaces ws1 for service1 and ws2 for service2. Both web services have a reference to the library containing my custom object. Service1 has a web method GetCustomObj ...Show All

  • .NET Development How to find Application folder path.

    I am creating a windows application where I would like to create a xml file if it doesn't exists in the root path. To get the Path I tried the following syntaxes Environment.CurrenDirectory Application.StartupPath Application.ExecutablePath But all return the path upto ..\bin or ..\bin\debug directory. where I have to use subtring to get the application folder path. If I create a setup file and install the application, and while running the application,the code where I used substring(..\bin) will through an error "Lenght cannot be less than zero" as there is no bin folder in the installation folder. So how to get the application folder path alone Hi, If you are trying to ...Show All

  • Smart Device Development a socket was attempted to an unreachable host?

    Hi, I have opened my middle tier application with VS2005,CF2.0 (which is developed with VS2003(CF1.1)). When I run on VS2003 and pocket pc emulator 2002 , it is connected to server with out any error. but when I open on VS2005 (pocket pc emulator 2003) It is giving the following error. A socket was attempted to an unreachable host. can u plz give me the solution fot this if u know. Hi Ilya Tumanov, Actually I did setup through following this link. http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Smart_Client/Testing.htm still i am facing same. Plzz, if u can give any give other solution. ...Show All

  • Windows Forms Event-based Asynchronous Pattern: exceptions re-thrown loose stack trace?

    Hi. When you use the Event-based Asynchronous Pattern , you have a background thread that can use one AsyncOperation objet to post messages to the calling thread (UI thread in most cases). While posting a progress message may never be a problem, you may also post some more important messages to the calling thread. In that case the calling thread may throw an exception telling he couldn't handle the message. Someone must catch these exceptions. So when the calling thread throws an exception, I let the backgournd thread get notified of it, so that he can stop if necessary. In my case I have a "async inside" object that hides the async mode. It has a ShowModal() function that displays a progress form. This function exits when the pro ...Show All

©2008 Software Development Network