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

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

moshebs

Member List

Jeffrey.Ye
hellomcv
Rajan K
Gage
Spatulaman
Chris Boorman
Nagarajkg
Swamy Kanakala
Peter H40
Wizard1027
pbrowntwi
polstar
Ibrahim Malluf
Mark Shoesmith
OrenSasson
Popoi
MikeBMiller
TikiWan
M. Carr
Maria Tzanou
Only Title

moshebs's Q&A profile

  • Visual C++ How to Stop Windows from updating mouse position automatically

    I recently need a special mouse behavior. When mouse moves, the cursor should not act as the default windows behavior. For example, when moving mouse left, the cursor actually circles clockwise. The problem is that using SetCursorPos makes the mouse cursor flicking. It's because the default cursor position is different with the new position I set. I need the default windows cursor and cannot implement an owner-draw cursor using GDI or something else for some reasons. I'm not sure if it is possible to stop the windows cursor from updating automatically. Why you are wating for the mouse move messages They are created by windows and ...Show All

  • Visual Studio Express Editions How To Change PaperSize When Printing

    After a lot of errors, false starts and senior moments, with the help of several generous souls who responded to a query I made on the VB Express Forum and with several revelations from the book “Mastering Microsoft Visual Basic 2005,” by Petroutsos, I am a closer to understanding printing and modifying the papersize and other printer parameters. I am including the code for a small VB windows test program that programmatically creates two different paper sizes. I hope it will help others as they implement printing in their applications. The code contains no error handling and is something that should be added in a full project. The ...Show All

  • Visual Studio Express Editions Mistake in Visual C# ebook

    I've been working through the "Build a Program Now" book for Visual C#. Despite the fact that I'm quite experienced with previous versions of Visual Basic and Visual C++, I'm actually finding it quite useful for moving me over to the the latest version, and also because this is my first contact with Visual C#. I never thought I'd say this to Microsoft - I'm very impressed with the Visual Studio Express programs, and the support videos and books that come with them. I'm going to use them to teach my daughter to program, but haven't yet decided whether to start with Visual Basic or Visual C#. Anyway, to the point, on page 107 of the book ther ...Show All

  • Windows Forms How do you refresh data bound to a DataGridView

      This should be easy... but I don't know how to do it. I have created a DataSet that is bound to a DataGridView so that the DataGridView displays the data in my DataSet.  If my DataGridView is called dgvStudents, the following code DOES NOT do the job: dgvStudents.Refresh(); I can see the grid itself flash and refresh(), but the data behind the grid is not being refreshed, so new items in the database (added by another process) are not being displayed in the grid. How do you do this   Possibly I should post this as a new thread but I believe I'm running into a similar situat ...Show All

  • Visual Studio How to re-use RPT designs and formulas in CR for .Net 2003

    I am creating a series of different tabular reports in CR because I need a way to have the output be in PDF format. Things are proceeding too slowly and awkwardly for me - I fear I am missing some important trick regarding reusability:  How do you re-use report design layouts and formulas with this version of CR Much of the Page Header and Footer sections are the same on all reports I need to create; even the detail section(s) need to be same in terms of font, color, etc. In my first report, I struggled with the learning curve of formulas, runtime customization, and the designer itself. In my 2nd report, I clumsily tried to clone ...Show All

  • Visual Studio Team System Version Control Events

    I have a listener for the Checkin event that analyzes changesets but the event is not being fired when a changeset is modified (i.e. after adding checkin notes). And I ceretainly would not expect that particular event to be fired by such action but, is there an event defined in TFS that fires when this occurs I checked the Registration web service and it looks like VersionControl only has the Checkin event. Any help will be much appreciated. I can't think of any efficient workarounds off the top of my head. Can you tell me a little more about what you're trying to do Perhaps there's a ...Show All

  • SQL Server How to, Case statement??

    Hi, anyone have any idea how to do a case statement properly. I have tried for hours but no go. Any help greatly appreciated. create procedure dbo.spAdjustPrintFields @TemplateKey  int, @Direction  nvarchar(15) as        case when @Direction="Up"     update [printfields]  set                 [Ypos] = [Ypos] - 1          when @Direction="Down" set                 [Ypos] = [Ypos] + 1           ...Show All

  • SQL Server ReportBuilder : Download Error

    I am having problem running Report Builder. Error summary says this. ERROR SUMMARY  Below is a summary of the errors, details of these errors are listed later in the log.  * Activation of http://rs.mycompany.com/ReportServer/ReportBuilder/ReportBuilder.application resulted in exception. Following failure messages were detected:   + Downloading http://rs.mycompany.com/ReportServer/ReportBuilder/ReportBuilder.application did not succeed.   + Unable to connect to the remote server   + An established connection was aborted by the software in your host machine It was working like Champ couple of da ...Show All

  • Software Development for Windows Vista Documentation for MSH in WinFX SDK January CTP

    Hello, I finally suceeded in installing the entire January CTP SDK of Win FX, the run time components, the Vs.NET additions for WWF ,the CTP Of Visual studio .net code named Orcas, Expression (both the designer and the interactive designer). All are working fine and without any problem. But when i want to view some information regarding the documentation, I keep getting this dialog box error. --------------------------- Error --------------------------- A Runtime Error has occurred. Do you wish to Debug Line: 103 Error: Could not complete the operation due to error 80041001. --------------------------- Yes No ------------------ ...Show All

  • Visual Basic Help with adding an executable file as a resource

    Is there any way to add an executable as a project resource and reference it in the code. I added a small executable to my project and tried to run it like this: Process.Start(My.Resources.exeFile) It causes an error. Also, the above code is activated by a button click. I have a couple of exe type file that I want in my program but, at the same time I want to make the program a single executable. I would be able to do this if I made a folder and leinked to them externally but I'm trying to do this without any external resources. Any ideas I just used IO.File.WriteAllBytes(tempDir & "\00000001.exe", My.Resource ...Show All

  • Visual C++ Making dlls with Visual C++ Express Edition Beta 2

    I am wondering if there is a way to make a dll in Beta 2. The radio buttons are greyed out. I do not have Beta 1. Is there a way I could make a dll in the win32 application I want to make a plugin for Maya. Though I do not want to pay money in order to do this. Is there an easy way to do this. Thanks. I went to View | Propert Manager, then Double Clicked on the Release|Win32 Heading.  That opened up the Release Property Pages which has a Configuration Type entry under Project Defaults.  That is where I could select a DLL. This was with the Release version, not Beta 2. ...Show All

  • Visual Basic Command Buttons

    I have recently upgraded from Visual Studio 6 to Visual Studio 2005. The problem that I am having is that I after entering the code that I usually used to open a form with a command button, it seems that they syntax won't work. For example if I wanted to open frmCustomer. The code that I used to use would be something like this.' open frmCustomer', however, this does not work. Any recommendations. Ras Buy a book :-) VB6 and VB.NET are totally different. In this case. frmCustomer.ShowDialog() is probably what you want. However, overall, you are going to have this trouble time and again unles ...Show All

  • SQL Server SQL Server Management Studio Express: Missing DataBases from VWD Project

    LOST DATA BASES I appear to be doing something stupid! I created a VWD express project that contains a database. In VWD the DB application works fine. I can see all my tables. VWD stores the DB in the applications area of MY DOCUMENTS in a project folder under “SQL SERVER Management Studio Express”. However, when I run the SQL Server Management Studio Express, I get a instance of the “(computer_name)SQL\express” that contains the System DB, but not the DB that I developed in VWD. After investigating I found the SQL DB for the Studio Express under MY COMPUTER, “Microsoft SQL Server” in a subfolder under "MSSQL" folder. Mi ...Show All

  • Smart Device Development VS2005 Compiler Bug?

    I have some source code that does DES, 3DES encryption decryption based on the algorithm. A lot of bit operations. The same code, with the same testing program, yields inconsistent results: - Compiled under EVC4 for PPC2003 and SP2003, test passed. - Compiled under VS2005 for Win32 desktop platform (UNICODE defined), test passed. - Compiled under VS2005 for any Windows Mobile platform (PPC2003, PPC5.0, SP2003, SP5.0), test failed. Any idea how to tackle this Is there any service pack for VS2005 device compilers Thanks, Lao K Finally found the culprit line but still thought this might be a bug in the compiler... Original line: ...Show All

  • .NET Development Diff Bet VS .net and VS

    Hello I have read many documentation, but cannot really get this figured. In the old world(with out the .NET) a visual basic program in VStudio created .exe, which could be executed in Windows. In the .NET world, using the VB .NET the documentation says  that it would  create a (Intermediatary Language) IL. This then becomes native language and then native language gets executed on the CRL. Can some explain what this is all about, where is the .exe(if at all) created in the .NET world, and how it fits in the .NET framework Confused developer. Thanks Thanks Kit/Daniel/Josh for your help. ...Show All

©2008 Software Development Network