Software Development Network Logo
  • VS Team System
  • Architecture
  • Game Technologies
  • Visual FoxPro
  • SQL Server
  • Visual Studio
  • VS Express Editions
  • Windows Forms
  • Visual C++
  • Windows Live
  • Visual J#
  • Visual Basic
  • Visual C#
  • Microsoft ISV
  • .NET Development

Software Development Network >> Rob Pearmain's Q&A profile

Rob Pearmain

Member List

chaillom
Codemachine
Pierre Drofwarc
autumn.wind
freekyzolte
LOURENÇO MANTOVANI
Bely
GianfrancoV
qoo942
jerrymei
Koni
Martín Misol
GauravGarg
Patrick C
Bill C.
arnoldg
bSathish
comwiz_y2k
Gotham
petemod
Only Title

Rob Pearmain's Q&A profile

  • Windows Forms Is the terrarium dead?

    Hi, I need help. I am a newbe to terrarium and it looks interesting. But All what I can read on the internet concerning Terrarium looks a long time ago. No recent post I mean, or at the farm... or I look at the wrong place. (Where is everybody ) I see 10 peers, All LED's are green, but I never receive a creature from other peers. I can't introduce my own creature, I get a message "Terrarium is experience some server problems. Please try again later.". I connect to http://www.terrariumgame.net/Terrarium, it is the only server I know. Are their other servers ...Show All

  • Software Development for Windows Vista Windows Worflow Designer

    Where can I get documentation and examples of using the cancelActivity (located on the second tab of the workflow designer - on the bottom). The first tab is the workflow, second tab is the cancelActivity (for which I cannot find examples and detailed info), the third tab contains the FaultHandler activity. I would like to learn how the cancelActivity is used and whether or not it releases all resources prior to cancelling a workflow during execution process. Please email me at john_portnov@adp.com with any detailed info and/or examples of using the cancelActivity in the Windows Workflow designed (Sequential Workflow with Console project ...Show All

  • Visual Studio Team System Saving a query after changing sort order results in message

    If you open up an existing query and you click a column heading to re-sort based on that column, after trying to close out the query you receive a message: "Changes you have made in this view have caused the underlying query to be modified. Would you like to save the changes to the query " Yes or No is the only options. I know this is new functionality in Beta 3 Refresh (from Beta 2) but can somebody explain what changed and if this is a valid warning   The biggest problem I have with this is that the only people allowed to create new or modify existing queries in the "Project Queries" are Project Administrators. However, when an avera ...Show All

  • Visual C++ collate in C++

    I am trying to generate hashes for a set of strings (that I store within a class) using the hash() method in collate class in <locale>. Suppose the class SetOfStrings has a list of strings and it has a method getNextString which returns a const char *. When I pass this to collate as follows: SetOfStrings ss; // Assuming ss is set up with all the strings const char* beg = ss.getNextString(); collate<const char *> coll; int hashVal = coll.hash(beg,beg + PyStrlen(beg)-1)); The behavior is weird in the sense that the hash is not reproducible. The program when run twice, doesnt produce the same hash for for ...Show All

  • SQL Server System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided. (Micro

    please help me, i have a problem. I cant restore database in mssql2005 System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided. (Microsoft.SqlServer.Smo) ...Show All

  • SQL Server UPDATE question

    I need to update a field in Table A from a Field in Table B. The structure of the tables is slightly different but I think it should be possible. Here are the tables basically: tblTickets (Table A) Number (PK) EmployeeID tblTicketNotes (Table B) ID (PK) ticketID (FK) this links to the Number field in tblTickets EmployeeID I want EmployeeID in tblTickets to equal employeeID in tblTicketNotes where tbltickets.number = tblTicketNotesTicketID I hope that makes sence. I am trying to use an UPDATE query but I can't figure it out. I tried: UPDATE tblTicket INNER JOIN tblTicketNotes ON tblTicket.Number ...Show All

  • Windows Forms app crashes when run in debugger

    if my app is running without the debugger (not to be confused with debug and release mode) it works as expected.  if app is run in the debugger it will crash at the commented line.  void ChildDisplay::ReadNext(int iLength, String* sKey) { String* recbuff = S""; String* temp = S""; m_pMMDM->SetLL(NULL, sKey); m_pMMDM->ReadNext(NULL); for(int i=0; i < iLength; ++i) { m_pMMDM->ReadNext(NULL); recbuff = m_pMMDM->FormatBufferDisplayLine(); //check for and skip duplicate entry temp = recbuff->Remove(recbuff->IndexOf('|'), (recbuff->Length)-(recbuff->IndexOf('|'))); if(String::Equals(temp, sKey) == ...Show All

  • Windows Forms bound combo not set when selection made using keyboard

    I have a usercontrol that includes a combobox. the usercontrol exposes DataBindings , text and selectedvalue properties for the combo. the usercontols text and selectedvalue properties are bound to a datasource. The combobox (in the usercontrol) displays my data correctly and the dropdown is also filled fine. If I use the mouse to select a value, it works perfectly. If I use the keyboard (tab onto the control and arrowdown to select), when I try to save the record, it says that the column bound to the text property is null. As I said though, it works fine when using the mouse. Is this a bug or do I need to expose more properties for the comb ...Show All

  • Windows Forms .NET Wizard development support

    Can anyone tell me if .Net supports a wizard class.  MFC supported something like this by leveraging a tab control but I cannot find any equivalent in .Net. Any ideas (other than me creating a class for this myself) Thanks, George ...Show All

  • SQL Server Failed to update database "XXXXXX\APP_DATA\DBSQAFTP.MDF" because the database is read-only

    I am recieving this error after republishing a data driven web site.  I am running on SQL Express, and prior to the last publish all was working fine. I have also attempted to connect to the DB using SQL Server Management Studio Express and it claims that the DB is in use by another process. Any Ideas Below is the error text: Failed to update database "XXXXXXX\APP_DATA\DBSQAFTP.MDF" because the database is read-only. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exc ...Show All

  • Software Development for Windows Vista GeForce 6600 related Issue - Bug Report

    On my Vista Beta 2 test system (HP DC7600, 3.2GHz, 1.5GB) I use a GeForce 6600 graphic adapter and a 50" Panasonic plasma display. Whenever I coldboot my system it looses the correct display settings and the display doesn't work any more. Rebooting in 640 x 480 gives me the chance to set the correct display settings again - until the next power off. This behaviour happens as well with the latest original windows driver as with the latest Nvidia Vista beta driver. I'm running a 6600 on a Asus P5DG2 Deluxe 3.4/2gb/ddr2 Although I haven't had any issues prior to 5342 I've had reboot errors after install with 5342 and 5384.4 ...Show All

  • Visual Basic Distributing a shareware DLL (Class Library)

    I'm sorry if this is not the correct place to post this but I couldn't find a more relevant forum. I develop a DLL (a class library that its not a user control) which I sell so other developers can use it with their applications. So far I haven't found a reliable way to distribute it as a shareware (install it as DEMO and if you register it the limitations are lifted...). Here's how the licensing should work: - Let's suppose that a developer downloads it to evaluate it; he/she should be able to build applications using the unregistered version although a nag screen or some other limitation will be present. - Then, he/she decides to regi ...Show All

  • .NET Development Terminating Processes from a Windows Service Cleanly (c#).

    Hi, Recently, I have created a Windows Service in C#; that calls a process (writen previously in c). It starts fine, however im unable to terminate the process cleanly, when the Onstop() is called.   Process.Kill() works, but prevents my process from shutting down cleanly (loses data - that I need). Ideally I need to use the CloseMainWindow() method... but this does not seem to work within a service (as a service does not run an interactive GUI... and does not take advantage of the WM_CLOSE message)... Is there a way to send the process a signal; to enable a clean termination Any ideas Best Regards Rober ...Show All

  • Visual Basic Process.waitforexit(0

    Dim MyProcess as Process=Process.Start(FileName) MyProcess.WaitforExit I am confused about the best way to spawn new processes and work with them. I was thinking that the waitforExit event would halt operation of my application until the spawned application was closed.  What I find is that my application will still respond to events such as button clicks and continue operation.  Am I misunderstanding what 'waitforExit' is supposed to accomplish. Thanks, Fred Herring :edited: ...Show All

  • Visual Studio Express Editions Newbie: Form problems

    Why is it that I will loose all of the labels, textboxes, and everything off of a form. I have built an application with about 50+ forms, certain forms will lose the information in them (in the design view only though). If I build and run the app, all of the textboxes and labels are there, but my toolstrip buttons are...not visible, even though they are fully useable. I have noticed that the forms that this happens on are all have two extra files now. for instance, there is a form1.vb, then a form1.resx, and a form1.designer.vb. does anyone know why this happens and what I can do to prevent this from happening in the future Thanks in a ...Show All

©2008 Software Development Network