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

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

mountairy

Member List

James Bragg
Vijay Shah
2162
jankoesp
Parv Sangha
henryjl
hansondan
snandan
MAZIN
Xanthius
Igor Kuklin
vijay_jan80
Auris
D6MCK
Sushma
Kevin O Donovan
JulesW
Rajiv Gnana
Simon Temby
Mario Guzmán
Only Title

mountairy's Q&A profile

  • Windows Forms scroll richtextbox with custom scrollbar

        I want to scroll richtextbox with a custom toolbar ( a vscroll control ) and want to disable scrollbars of richtextbox. Any idea on how to go on that path any samples Hi, If you're scrolling a RichTextBox control (or any control that is scrollable), you can do it by interop, here's how: // First import the SendMessage function from user32.dll: [DllImport("user32.dll", EntryPoint="SendMessageA")] internal static extern int SendMessage(int hwnd, int wMsg, int wParam, int lParam); // Then add this constants to your codes private const int WM_VSCROLL = 0x115; private const int WM_HSCROLL = 0x114; private const int SB_ ...Show All

  • Visual C# COM+

    Hi you all, Well I was I VB6 developper and I am now trying to build a COM+ component using C#, but till now I had no luck. Can anyone help me in this matter. Any help is welcome, MeTitus see this article http://my.execpc.com/~gopalan/dotnet/complus/complus.net_accountmanager.html I think it could help you to start.... ...Show All

  • SQL Server cant start the sql server services

    Hi all After i configure the Merge Replication, my sql server services wont start again. The error show that "The request failed for the service did not respone in time fashion. Consult the event log or other application error logs for detail" >>The error show that "The request failed for the service did not respone in time fashion. Consult the event log or other application error logs for detail " Did you ...Show All

  • 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 do u have any simple source code to show me that i can print the text display on a textbox to a moblie printer or is that any procedure i need ...Show All

  • SQL Server Insert multiple rows with a single INSERT statement

    With SQL Server 2005 Express coming out, I have switched from MySql. I'm having trouble with a very simple INSERT statement that has previously worked in both MySql and Oracle. The statement is as follows: INSERT INTO pantscolor_t (procode,color,pic) VALUES ('74251', 'Black', '511black.jpg'), ('74251', 'Charcoal', '511charcoal.jpg'), ('74251', 'Khaki', '511khaki.jpg'), ('74251', 'Navy', '511navy.jpg'), ('74251', 'OD Green', '511odgreen.jpg'); However, when I attempt to execute this statement with Management Studio Express I get the following error: Msg 102, Level 15, State 1, Line 2 Incorrect syntax near ','. Any ideas ...Show All

  • SQL Server SSIS Variables not changing value?!

    Greetings my SQL friends, I have a very simple package which consists of a SQL Task component and a Script Task. The SQL Task retrieves a single value from 1 row table in one of my database and assigns that value to a variable. The Script task simply outputs the value of the variable in to a message box. I know, it's all simple stuff (I am trying to master SSIS ) The problem I have is that when I change the value of the column in my table, the value of the variable is not changing when I re-run my package. It seems to be the same value every time. What am I doing wrong ! Your help would be much appreciated. Hi dreameR, Is your SQL ...Show All

  • .NET Development Compacting an Access 97 DB from VB.NET 2003

    Hi everybody, Here's my code, Imports System.IO Public Class Access97Routines    Public Shared Sub RepairCorruptDatabase(ByRef corruptDB As FileInfo, ByVal destinationFileName As String)    Dim accessApp As New Access.Application       Try          accessApp.DBEngine.CompactDatabase(corruptDB.FullName, destinationFileName)       Catch ex As Exception          MsgBox(ex.ToString, MsgBoxStyle.Critical, App.Title)       Finally  &nb ...Show All

  • SQL Server ExecuteSQL Task with Parameters

    I have an insert statement that i am trying to parameterize based on a variable.  I have tried: INSERT MyTable(Col1, Col2, Col3) VALUES(1, @MyParam, 3) INSERT MyTable(Col1, Col2, Col3) VALUES(4, @MyParam, 6) as well as: INSERT MyTable(Col1, Col2, Col3) VALUES(1,  , 3) INSERT MyTable(Col1, Col2, Col3) VALUES(4,  , 6) The parameter is defined in the task.  It fails consistently.  The error in the output shows the SQL without the parameter replaced.  Any ideas Thanks, Chris Hi Chris, Were you able to find any solution for the problem... I did somewhat same routine what you did using OLEDB connection. ...Show All

  • Visual Studio Team System No source control availabe after installing MSSCCI Provider

    I have installed the latest .NET framework 2.0 available and the Team Explorer from the TFS CD. I then installed the latest MSSCCI provider and rebooted. I then opened up VB6 (with SP6) and created a new project. However, nowhere in the IDE do I see the option to use any source control. Any ideas why not Thanks in advance. Go to Add-Ins->Add-In Manager and make sure that Source Code Control is Loaded. If not, you can load it by checking the Loaded/Unloaded checkbox under Load Behavior. You probably also want to check Load on Startup. --Ben ...Show All

  • Visual Studio Team System I'm not sure how efficient that is on a developer by developer basis

    What is the best alternative for tracking developer hours against work items in Team Foundation Server Any third party tools It would be nice to have more details on what do you exactly want, but I think for tracking the hours and tasks in Team system, the best would be use the work items in Team Foundation Server, together with Microsoft Project for tracking task dependencies and hours worked in a task. ...Show All

  • Visual Studio 2008 (Pre-release) Trouble loading Baml using LoadComponent

    Hello, I'm trying to load some baml from resource assemblies using Application.LoadComponent. As a parameter I use Uri that contains full name of assembly with culture: "en". But LoadComponent gives me IOException, that same assembly, but with culture: "neutral", was not found. here is a sample that first loads PresentationFramework Luna baml, and then tries to load mainwindow.baml from Sparkle. Luna baml is loading as expected, but Sparkle baml throws exception: static readonly string PROGRAMFILES= Environment .GetFolderPath( Environment . SpecialFolder .ProgramFiles); static readonly string PRESENT ...Show All

  • Microsoft ISV Community Center Forums Run Time Error 216 at <Memory Address> in Excel 2000

    This error occurs when a testing is being done on a Win 2000 Advanced Server with Office XP. At the time on closing of all operations, this Error occurs. Per our support engineer: Dear Customer, Thanks for using Microsoft ISV Community Forum. According to your problem, would you please kindly let me know what kind of testing you are doing in Excel And what’s the version of your Excel, since you mentioned both XP and 2000 in your post, is it a Excel 2000 or Excel XP What’s more, do you already have Window 2000 SP4 installed -brenda (ISV Buddy Team) ...Show All

  • Windows Forms Date Time Picker

    Hi everyone, I am using a windows application where I use a date time picker. what is the event raised when I click on the date time picker so I see the calendar. thanks Thanks Roxana, what really I want is the following: I have a textbox and a date time picker. the text box is used to display the value choosen from the date time picker. When the focus is on the textbox, if the user click the ENTER key, I want that the date time picker open, and the focus is on it so the user, by using the ARROW keys, can choose a date. I know how to test the key pressed by the user, this is my code: Private Su ...Show All

  • Visual Studio 2008 (Pre-release) WPF Nov 2005 samples hit-rate

    With November CTP of WinFX and VS2005 RTM, I'm having roughly a 50% success rate running the various WPF samples - mostly due to compilation errors. Does this sound about right, or is it more indicative of some problem with my system setup Thanks - that looks interesting, and it does answer another question I posted about the demise of the VisualOperations class. On a related note, I've just noticed the readme file for my installed WinFX SDK has 'september' in it, despite having installed the November CTP SDK and 'reinstalled' it as well. Time for an uninstall, manual delete, and reinstall... When I uninst ...Show All

  • Visual Studio Team System What is an area?

    I was just testing team explorer and all the menus, and I see an option where you can add Areas and Iterations, could somebody give me a brief explanation of areas in sofwware development in cmmi Thanks Areas are a way to divide a software product into features & subfeatures. For example, the area path for one of my bugs might be something like: VSTS -> Team Foundation Server -> Version Control -> Client UI -> Branch Dialog (smaller projects probably wouldn't need to go 5 levels deep) Iterations, as you probably guessed, are more for tracking development over time. They're commonly referred to as "milestones ...Show All

©2008 Software Development Network