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

Software Development Network >> Curious George's Q&A profile

Curious George

Member List

Ackamajack
sunnny
Rtalan
Pavan Contractor
gleason78
ks2006
xAvailx
jrsearles
PublicError
QWERTYtech
Ido Ran
Shan_work
karande23
Henllys
foobarX
Nick Sheng
Jassim Rahma
wormbyte
SuperJeffe
Bumper
Only Title

Curious George's Q&A profile

  • Visual Basic FileNotFoundException error with pictures

    I a seem to be having a simple problem. In VB6 I had no problems loading pictures. when I converted the program to VB2005, it modified the code to frmDetails.Elm_Pict.Image = System.Drawing.Image.FromFile( "Pictures\h.jpg" ) which is giving me a FileNotFoundException error but the path is correct ! I would greatly appriciate any advice how to fix this simple error! Thanks, Campsoup1988 Sorry I didn't mean to suggest you couldn't use relative paths, you can certainly. The key is understanding where that exe is actually running from and making sure the image is in the correct path. If you're debugging the project it will be under the Build Output P ath which is found under the project proper ...Show All

  • Visual C++ stdafx.h

    How does VC++ decide whether to put a stdafx.h into your project or not I am looking at older code that I wrote a while back and I noticed that it does not include a stdafx.h I would like to add a #define _CRT_SECURE_NO_DEPRECATE 1 to stdafx.h, but the project doesn't have the file. And I'm not sure if it is safe to add it after the program has already been written. Thank you. longwood stdafx.h is generally a precompiled header, added by the VC++ project templates. Some templates (if not all) do have boxes you can to control whether or not to generate the header. See http://msdn2.microsoft.com/en-us/library/syth7b6s.aspx and the linked urls. ...Show All

  • Visual Basic open a form if the system is idle for xxx min

    in my application i need to know if the system is idle for more than 5 min my requirement is if the application which i am developing is now open on desktop and if the user of this application dose not give any input to the system for moure than 5 min it should open a dialog which promt the user to input the reason for the idleness  [SJW: Merged Thread  -please do not multipost] dear dick donny, i did not get what u mean to say will u please explain me in detail or please give me the code how to do this in my mdi application i have prepared a form with border style non and when my application is running and the system is idle or there is no input from the user for more than 5 min i should pop up t ...Show All

  • Visual Studio Team System Add already controlled project to another solution

    Hi there I have a solution with 2 projects. A BAL and a DAL project. Its our Object Model. Now I have a new solution. The End User application. I want to add these two projects from Source Control. I can only do this by adding Exsisting Project and point to my sln file for my Object Model solution. But now I get a problem. Its not referenced from source control so if someone else try to get the project without having gotten the Object Model solution or they saved it in another location they get an error. Is there a way in a solution to reference another controlled solution and get it from source control This was possible with source safe which we dont use anymore after moving to Team System. ...Show All

  • SQL Server need direction on SSB replacing existing technology

    Hello, I have an existing suite of applications in my company where remote laptop users enter data into a local database instance. There are several different applications with several different databases (some users run application A and C, others run A and B and D, etc). All of this data needs to make its way into both their local databases, and to the front office database. In addition, some of the data goes out of the front office to other end users (supervisors get data from people under them). Currently, we get the data back and forth by creating text files full of SQL statements that are run on either the end user servers or the main server, and we zip and ftp these SQL Script files back and forth. I am looking into the benefits of ...Show All

  • Smart Device Development screen resolution converversion

    Hi! I have a smart device project, developed for 240*320 screen resolution in VS .NEt 2003. When I changed to VS .NET 2005 and deploy to a qtek 9000 PDA, with screen resolution of 480*640, only the upper left corner of the screen was diplayed with the controls zipped. How can I adjust in VS .NET 2005, that when deploying to PDA, it should strech (convert) the coordinates when VGA display is detected Thank you! I guess one way would be on your form load to reset the size of the screen to the bounds of the screen, something like.... this.Size = new Size(Screen.PrimaryScreen.WorkingArea.X, Screen.PrimaryScreen.WorkingArea.Y); ...Show All

  • SQL Server VS 2005 cannot connect to SQL Server 2005 Express

    I've installed, with default settings, VS 2005 and Server 2005 Express and cannot get VS2005 to connect. This is the error: Unable to open the physical file "..path...mdf". Operating system error 32: "32(The process cannot access the file because it is being used by another process." I shutdown Server 2005 but that didn't change anything. Any ideas Thanks. Thanks for the info but that seems to apply to users who are not the adminitrator on their machine. I don't know why it would come up for me. ...Show All

  • Audio and Video Development Adv. Cont. Playback on HD-A1 >> NO RENDERING

    Hi All, I am having trouble getting an advanced content application to play once burned on a DVD-R and inserted into the Toshiba HD-A1 HD DVD player. Video and audio play fine using this method, but once the advanced content object is reached the player stops playback and gives an error. Does anyone have any advice on this We have tried the samples posted here and we get the same results. Thanks. My test is on a HD-XA1. It works for me to write HDDVD standard content on DVD-R/DVD-RW with UDF 1.02 or UDF 2.5 and playback ok on HD-XA1. For advanced content, it seems HD-XA1 asks for AACS encrypted content. I tested the same iHD content mastered with and without AACS, my HD-XA1 only take the one with AACS. ...Show All

  • Windows Forms App requires installation package after upgrade?

    I am having a problem when I upgrade a previous msi installation. Following the installation of the updated msi package, when the user runs the application for the first time, they get prompted for the path the the installation package. If the msi file is still in the original location it works fine and no prompt is displayed. It didn't used to do this, so I am trying to figure out what has changed. Can anyone point me in the right direction as to what it could be Thanks, Peter It depends what you mean by "upgrade a previous msi installation". If you use RemovePreviousVersions and the older product is installed there's nothing wrong with that approach. But if your upgrade just overwrites or repla ...Show All

  • SQL Server Need Comments

    Can someone please give me comments to every lines to this code: (I think I know, but Iam not sure): Dim ConnString As String = ConfigurationManager.ConnectionStrings( "Connectionstring" ).ConnectionString Dim strSQL As String = ( "INSERT INTO Tabel3( City) VALUES ( @City )" ) Dim Conn As New SqlConnection(ConnString) Dim Command As New SqlCommand( "" , Conn) Command.CommandText = strSQL Conn.Open() Command.ExecuteNonQuery() Conn.Close() ------------------------------------------------------------ By the way, I got a question about the DetailsView in ASP.NET 2.0 (none answearing me at forums.asp.net .....: I want to hide a <TemplateField> in Edit-mode of the Detailsview. ...Show All

  • Windows Forms Scroll the datagrid to a particular row

    Hi, I have a problem with the vertical scrollbar. I would select a row in datagrid and update it.When I reload the datagrid with data, the selection would be to the first row.I could clear this problem with the 'NavigateTo' property, but , the vertical scroll bar is still at the same position as initially. How can i program the vertical scroll bar to move to row thats required. A code sample is more than appreciated. Thanks I used it but of no use. The pointer is pointing to the set row but the Vertical scroll bar is not moving to the required row.Here, i need to move the vertical scroll bar. Please help on it ...Show All

  • Commerce Server Products requiring user information for ordering

    In an old catalogue I have based on Site Server 3 we modelled services as products which required the user to answer multiple questions before ordering could take place. We created question sets which could be applied to individual products and asked these questions when the product was added to the basket. A simple example of this could be a product called 'Physical workstation move' which we require to know answers from a question set of 'Where from' and 'Where to'. Can anyone suggest a way I can model this using CS2007 Is there a way I can extend the catalog/product system such that the Business Manager Applications can administer the question sets, applying them to products Endeavor supports CS 2007 ...Show All

  • .NET Development Create a Shell Extension Handler thumbnail extractor with .net?

    Hi, My application creates nice graphics see http:// www.mavericksplan.com/mavericks  and it saves a custom document type. I'd like to show the contet of the document in Explorer when the user switch to Thumbnail view. To implement this feature I understand I need to create a Shell Extension Handler Thumbnail Extractor that extract the image from my file type to feed Explorer thumbnail vew, which is not easy at all for me. I look on the web and I found 1 C++ example and none in C#. Does anybody have a sample code to create a Shell Extension Handler thumbnail extractor with .net in C# Thank you Andrea That's still wrong. What happens when Explorer becomes written in managed code with a ...Show All

  • Visual Studio Team System Problems installing (Report Server can't connect)

    I am trying to install the Release Candidate in a dual-server environment. Everything goes well right up until the end of the Application Tier Server install, when it fails with the following message: Error 28805. Setup cannot finish the request to the SQL Server 2005 Reporting Services report server. Verify that SQL Server 2005 Reporting Services report server is installed and running, and that you have sufficient privleges to access it. In the event log, I get the following event repeatedly: Report Server Windows Service cannot connect to the report server database. The TFSSERVICE and TFSREPORTS users have the Login Locally right, and are in the machine Administrators group on both machines. Any help would be appreciated! Tha ...Show All

  • Visual Studio 2008 (Pre-release) Button styles in a ToolBar?

    Looking for a clue to figure out what's going on. Buttons within a toolbar don't use the default button style. How does ToolBar change the style <ToolBar> <Button SelectedIndex="0" Style="{DynamicResource {x:Type Button }}"> </Button > </ToolBar> ...Show All

©2008 Software Development Network