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

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

melkor

Member List

kids_pro
Pat Backowski
Phil Spokas
pcmarley
vogue
DaveInCT
Ella H
kawano1h
zullu
Alan2007
Natham
ericis_com
AlanuB
sfbolder
Triskell2k1
Derald Smith
Ara Petrosyan
Ahmed Amin El-Morali
bork
AshSingh007
Only Title

melkor's Q&A profile

  • Visual C# Deploy Windows Service

    Hi, I read a tutorial on MSDN about the creation of a simple windows service, and then install it from Visual Studio.NET command prompt using InstallUtil ... command. My question is: how can we deploy this windows service so that we can install on another computer that doesn't have Visual Studio.NET installed. I mean can we create an installer or some package for it, or must we need Visual Studio.NET command prompt also on another computer. Please help. You can get the installer to automaticle install the service. I have just rolled one out where I included a batch file in the root directoy of the application that would ...Show All

  • Windows Forms CancelEdit or RejectChanges

    I have a bindingsource bound to a datagridview. I delete a row using bindingsource.removecurrent, and then I try to restore the row using bindingsource.canceledit. That doesn't work (even though it does work when removing and restoring rows in a listbox), so I tried calling RejectChanges on the underlying datatable and that worked. So why doesn't Canceledit work. I literally put the statements back to back for testing purposes and it still won't work. To understand these functionalities better you have to understand how datarows work. A datarow can be made up from mutiple datarows. The one you are seeing in ...Show All

  • Windows Forms Application Focus OnLoad

    I have a couple of Windows Forms projects which when run hide behind all other open windows. Is there a way to set focus on the application after it has loaded so that it is displayed in the forefront of the screen thanks - will look into that. Sorry for the delayed reply - for some reason i was not subscribed to threa ...Show All

  • .NET Development bug in serialport.close() ?

    Hi ! Here is my problem ... I developped in C# a class heriting from SerialPort. It contains functions structured like this : serialPort.open(); ....write....read.... ans so on; serialPort.close(); I use a timer to run theses functions every miliseconds. After a time, the application freeze. When i debug using "break all", i see a green arrow pointing serialPort.close(). When i press F11 to go to the next instruction, i can't see any yellow arrow. The green one disappear and my application stay freezed. When i break all a second time, the green arrow reappear pointing the serialPort.close() function etc.... The only solution is to ...Show All

  • .NET Development Instructions for newbie needed

    hi I am a c# newbie, just started learning it by building my first application, the idea is a service diary like application: only 2 forms included: frmMain and frmAddNewService . and the database is MS ACCESS db: " ServiceReminderDB " that only has one table contains all the service details. On frmMain , I have 3 areas , 1st one is a combobox : "comboboxViews". it contains 5 different views: (Pending services, Services for selected customer, Services on a selected date, Completed services, and All services). 2nd area is the "view" area, Only one "view" is visiable at a time depending on user's choice. When user select "Pending serv ...Show All

  • Visual Studio 2008 (Pre-release) [BUG] GridSpliter does not respecting MinWidth / MinHeight

    I have a window with a grid, 3 panels, and 2 grid spliters.  The right/bottom panels have MinWidth/MinHeight set to prevent the spliter from making them hidden, but it is not respecting those values and will make the panels smaller than their respective Min settings. Do you know about the Product Feedback Center   http://lab.msdn.microsoft.com/productfeedback/default.aspx  It would be great if you logged your bug there. Thanks, Karsten ...Show All

  • Windows Forms Customize Listbox Items

    Hi everybody, I have listbox object in my form. Now I want the first item I add to to be bold and the font color should be red. Then all the other items I add should be default. Is that possible If yes how If no, why not Thanks for your help !!! Sure! Use owner drawing! Set Listbox.DrawMode to OwnerDrawFixed or OwnerDrawVariable and paint the items yourself. Here's how . ...Show All

  • Visual Basic Webbrowser Control - Add Html Code or detect scroll

    Hi, I am trying to use a Webbrowser control which loads our Intranet page but need to detect that the user has scrolled to the bottom of the page. Can it be done The idea is that the user is forced to scoll to the bottom of the page and then a Button will be displayed from which they can launch our ERP application. We use the intranet page as a means of communication between Head Office and our branches but want to ensure that the user scrolls through the page. Once they have reached the bottom I would then like a button to appear, not necessarily in the Browser, but on a panel in the windows form. Then they can click on the button and ...Show All

  • Visual C++ Porting MFC application from VC++ 6.0 to VS8

    I'm porting an MFC app from VC6 to VS8, while I expect to got the same sources compiling to both VC6 and VS8, I've been successful until I face the following error in: BEGIN_MESSAGE_MAP(SkStatic, CStatic) //{{AFX_MSG_MAP(CSkinDlg) ON_WM_PAINT() ON_MESSAGE(WM_SETTEXT,OnSetText) //}}AFX_MSG_MAP END_MESSAGE_MAP() The ON_MESSAGE line causes a error C2440: 'static_cast' : cannot convert from 'void (__thiscall SkStatic::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' None of the functions with this name in scope match the target type Looking at the afxmsg_.h in VS8: // for Windows message ...Show All

  • SQL Server Installing Sql Server 2005 Trial Software From Microsoft Website - Self Extracting Executable

    Hello,   I'm trying to install sql server 2005 Trial software from the self-installing executable (X86 Executable) as I wait for my copy of the full version of SQL Server 2005. Steps: Click the X86 Executable link When prompted, click Run SqlEval.exe. After that is finished I (Excuse me if I don't have to exact terminology down) I clicked O.K. and the software evaluated the .exe and then prompted me to click the finish button.  As soon as I clicked finish an error saying the file was corrupted halted everything.  Any suggestions Thanks, Matt The most likely answer is just what's reported: th ...Show All

  • Visual Basic date y/yyyy to dd/mm/yyyy

    Hi, I want convert a date y/yyyy to yy/mm/yyyy. the Format function convert a date yy/mm/yyyy to y/yyyy but not y/yyyy to yy/mm/yyyy. exemple : 111/2006 --> 21/04/2006 example : 111/2006 --> 21/04/2006 1/2006 --> 01/01/2006 y/yyyy --> dd/mm/yyyy y = Day of the year (1-366) yyyy = year dd = day of the month mm = month of the year ...Show All

  • Visual C# How to search string in a file?

    Hi, I would like to know how to search string from a file. If my filename is "a.txt" and my search string is "abc", how can I do a search for this string If this string return true, I will take some action. Please advise. Thanks hi read the file and store in a variable then search the specified text u want ...Show All

  • Visual Studio Team System Logon with the object model in RC

    In beta 3 I used a NetworkCreditials object to create a conenction to a TFS server.   NetworkCredential objNetworkCredential = new NetworkCredential (strUserName, strUserPassword, strDomain); TeamFoundationServer objTFS = TeamFoundationServerFactory .GetServer(strVstsURL, objNetworkCredential); But in the RC version the factory uses a Microsoft.TeamFoundation.Client.ICredentialsProvider in the GetServer method. In Client applications I can used the UICredentialsProvider, but what about Server applications Is the only way to logon to a TFS server in server application to use the current users credentials &n ...Show All

  • Visual Basic Controls Flickering when drawed on the form

    Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has a New Future called DoubleBuffered but it isn't doing any difference at all ... what are your Suggestions :) Thank you very much in Advance ! tried it wihout luck (I' ...Show All

  • Visual Studio Express Editions command button as Accept button

    like in asp.net - how can I make a command button as accept button in c#.net You should also be sure to set the DialogResult property of your dialog form to OK or another affirmative value so that the caller knows the results of your dialog. ...Show All

©2008 Software Development Network