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

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

benzhi

Member List

Brummi
veronika
cgragg
C-4
arvas
Tonia
CosmoTopper777
peter feakins
igorbaITALY
JRH77
Cosgram
iamGary
dragonsbb16
kurra kiran
jrboddie
JohnEK
Whisky Fudge
Ryan Dawson
Aner
decrypted
Only Title

benzhi's Q&A profile

  • Smart Device Development Print from Pocket PC to a Mobile Printer

    I'm developing a Windows Mobile 5.0 application and I need to print on a Mobile Printer via blootooth or infrared. Has someone a small source code to do this I cannot buy a third part component to print. Thanks Michele Hi my friend. you can use this components. http://www.fieldsoftware.com/PrinterCE_download.htm#PrCEDemo and c source code's are at that adress. See you soon. Sad k ERGUN Union Software ( AVESSOFT ) Alsancak /izmir / Turkiye www.avessoft.com ...Show All

  • Visual C++ Project creation failed?!

    I just Visual Studio 2005 Standard edition and I'm trying to learn C++.. when I try to create an MFC application, I try to set the Base Class under Generated Classes so I can visually design the form... however the second I click on the dropdown menu, the dialog immediately closes (the list of items in the dropdown doesn't even appear) and the status bar says "Creating project 'MFCTest'... project creation failed." No error message, no nothing but I can't create the project. Is this a bug in the program or something, or can I do something to fix it so I can continue learning I tried to reinstall i ...Show All

  • Visual Studio Express Editions Poor quality printouts when printing controls (labels, textbox etc.)

    My app. prints my form which has labels, textboxes and panels on it. What I have noticed though is that the quality of the text on the printout is quite poor and I can't seem to do anything to clean it up.The panels don't seem too bad. I use an LCD monitor and I'm using ClearType in the Windows Dispay Properties, and I did notice that changing this option does have an effect on the printouts, although the prints remain poor whatever I do. Does anyone know how to print clear and crisp labels, textboxes etc How are you printing it Presumably as the resultant form image. It will never look good printe ...Show All

  • .NET Development Deploying a Web Service (VS 2005 Beta 2) Problem

    Hello, I am having the most difficult time trying to deploy a web service created with Visual Studio 2005, Beta 2.  I'm hoping that I'm just missing one small detail and that someone can point it out to me. I have stripped this down to the most basic "Hello World" web service.  In fact, all I did for this was create a new web site, ASP.NET web service and left everything as is.  Here are the steps to reproduce: 1) In Visual Studio 2005 beta 2, create a new web site, ASP.NET web service and leave everything as is.  The HelloWorld web method will work fine. 2) Compile the application/Build the website.  Right clic ...Show All

  • Windows Forms bound controls not committed when selecting the menu bar

    Hello, I have a question in regards to binding controls (ie. TextBox). I noticed that any value in the control does not update the object it is bound to until that control loses focus. This normaly works quite well, except the following scenario: Suppose there is an app w/ a textbox, and a save option in the menu. If a user edits a new text string into the textbox, and clicks on the menu to select the save option, the textbox still has focus and that string will not get updated into the object the control is bound to. So, if the user continues to select the save option in the menu, the text string will not get serialized out like it is ...Show All

  • Windows Forms Form Resize incorrectly

    I have a problem with Form Resize: Make a Form (autoscalemode DPI), place one button in the lower right part of the form(Autosize false - Anchoring None). When I then resize the form, either in design or run mode, the button does not keep its location. Not even if you consider it is the top left corner that should be in the same relative position. The button disapears out of the right corner when the form is made smaller. It looks as if the resizing is only doing half of the resizing it should do. I have now written a Form_Resize event which works, but I don't understand why the resizing in VB.NET does not work correctly. Anybody knows the t ...Show All

  • Visual C# pass int array from VB6 to C#

    Hi All, I’m having trouble passing a VB6 Integer array to a C# method.  The rest of the C# methods which receive single Integer parameters work fine when called from VB6.  Only the Integer array gives me “Type Mismatch” when called. What do I need to do to fix this -k Thanks everyone - Some of my requirements have changed so it looks like I will be passing a Dictionary object now.  I've successfully passed this object in the past so I assume it will work again. -k ...Show All

  • Visual C# "True" OO design - sorting objects

    I have 2 classes OrderInfo and OrderManager. The OrderInfo class is the model of an Order and the OrderManager does all the work on the OrderInfo such as Insert, Update, Delete, Sort etc. I’m trying to implement sorting and have the following code in the OrderManager class: public static Collection < OrderInfo > Sort( string sortExpression, string sortDirection) { GenericComparer comparer = new GenericComparer (); comparer.SortExpression = sortExpression; comparer.SortDirection = sortDirection; call Compare method //Return a sorted gene ...Show All

  • Windows Forms .

    I am interested in establishing a set of coding and naming conventions for my Visual Basic .NET projects. At the moment I am focusing on naming conventions for variables. The "Naming Guidelines" under "Design Guidelines for Class Library Developers" in the MSDN library is a starting point and is probably sufficient for public types but the authors  ...Show All

  • Visual Basic Event when pressing an specific key

    I'm pretty new in VB, and I know most questions around here are much more serious than mine, but after looking a lot through VB2005's help, and search engines, I simply can't find out how to do this simple thing I'm trying to do, and need some help. What I wish to do is exactly what I described in the subject, something happening when I press a certain key in the keyboard after I input a certain code. Example: Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress        If TextBox1.Text = "password" Then TextBox2.Visible = True   ...Show All

  • SQL Server Whether SQL Server 2005 Express Edition can work with Visual Studio 2003 (Ver 1.1)

    We are new to SQL Server 2005 Express Edition. We are going to develope a solution for one of our client and we have to decide on which database to use for the solution. Client wanted to have a low cost solution. Thus we were not in a position to push them for SQL Sever 2000. In the process, we also thought of having MySQL as one of the option. Another option we have is to use SQL Server 2005 Express Edition. We wanted to know if SQL Server 2005 Express Edition can be used with Visual Studion 2003 (Ver 1.1) or it can only be used with Visual Studio 2005 (Ver 2.0) Hope to get feedback soon. Regards Sanjeev ...Show All

  • Windows Forms popup text box?

    I have a findows form that has a lot of textboxes, but is short on real estate.  I was wondering if there's a way to pop up the text boxes into another window, I guess using the onclick or focus events   So that I can make my text boxes smaller on my form, but when the user tries to type in one, it opens a new, b ...Show All

  • Visual Studio Error Generating Report to Viewer

    Seem to be having the occasional problem when generating a local report to a report viewer. First a dialog appears which states “A generic error occurred in GDI+” After clicking the OK button the report viewer shows the same message This error is not consistent and I haven’t been able to pin down the circumstances that cause it to happen. Any suggestions on where to start would be greatly appreciated. Jim Can you hook up to the ReportError event on the ReportViewer contro ...Show All

  • SQL Server RSClientPrint and web-service rendering

    I'm using the web-service to render the report with Reporting Services 2000, and I wish to implement client-side printing that will duplicate the functionality you'd ordinarily have using the Report Server. The main motivation of rendering via the web-service is I can implement security on a per-request basis and completely hide the existence of the report server by doing everything server-side. Unfortunately I have two problems with the RSClientPrint tool. Firstly, I can't USE it - whether this is a script problem or I don't have it installed properly I don't know. For reference, I have the .CAB file in the same folder and this i ...Show All

  • Visual C++ Vector: deque iterator not dereferencable

    Hi, i've got a problem with a stl vector, and i cant find any information about this error. the error is: deque iterator not dereferencable while (!Servers->empty()){ if (RequestServerInfo(&Servers->front())!=0){ MisScanned++; } else { if (DealWithServerInfo(&Servers->front())!=0){ //ERROR LOCATION MisScanned++; } after some debugging, i found that the error was at the DealWithServerInfo function call. however, i dont see why.. can anyone help. oh yeh, the time before this error occurs is different every time, somethimes its there in 2 secs, and the next time its there in 2 mins. ...Show All

©2008 Software Development Network