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

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

laroj123

Member List

MattBonness
ummroffice
Galher
jen0s
Tim Wagner
Tom Rizzo - MSFT
northern
Scott E
Siv1
Marco2006
adi reuven
HCTwinJava
Ryan LeCompte
Nick Gabello
vitalcc
Beav1810
Bridgepark
aleksandar uzelac
ChrisHelt
KZoli
Only Title

laroj123's Q&A profile

  • Windows Forms Scrolling in a custom combobox

    I have created my own custom combobox class that is derived from the basic combobox and populated with items in it's constructor. I use DrawMode.OwnerDrawVariable and override OnMeasureItem and OnDrawItem. Everything is fine except for some weirdness with the scrolling. When scrolling upwards the control looks fine and scrolling down with the keyboard or by clicking on the up/down arrows of the scroll bar is also fine. The problem is if you scroll down with the mousewheel the combobox does scroll down, but the animation makes it look like it's scrolling upwards! It is very disorienting. Has anybody else seen this behavoir and know a way t ...Show All

  • SQL Server Unable to read local eventlog (the parameter is incorrect)

    In trying to setup alerts and activating them, an error occurs in the sql agent log of Unable to read local eventlog (the parameter is incorrect) The full messages from the Windows NT Logs shows: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: 318 Date:  03.11.2005 Time:  17:14:47 User:  N/A Computer: RESYSHADOW Description: Unable to read local eventlog (reason: The parameter is incorrect) Does anyone know what could be causing this.   I have tried it on Windows XP SP2 with local Admin account and on Windows Server 2003 with Domain Ad ...Show All

  • Windows Forms Detecting Windows Media Player video freezes

    I'm writing a VB.Net program that uses the embedded WMP10 object.  This object reports a lot of stats about a video stream, but there is one stat I really need and can't find.  I'm streaming some multicast video over a lossy (wireless) network.  When there is significant packet loss, WMP will freeze on a video frame and wait until conditions& ...Show All

  • Visual Studio Team System Rename an Existing TFS Project

    Is there a means within Team Explorer to rename an existing TFS Project I currently cannot find such a method. Is there a 'power toy' or command line option available Thanks in advance. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=313345&SiteID=1 Look at this, but resuming: no you can't rename, I hope they will put it in v2, as it will be so useful ...Show All

  • Software Development for Windows Vista IfElse try to call bool method but errors

    I wish to use the IfElse to call a boolean method and based on its result branch to the corresponding sequence. Using the System.Workflow.Activities.CodeCondition i'm trying to call a bool method but continue to get this error: Error 1 'bool UPAC.Workflow.Rules.APRModifier.code_CheckAPRProgramLimit(object, System.EventArgs)' has the wrong return type I read somewhere on this forum that an IfElse could call a boolean method but to no avail so far. Am i'm trying to make it do something it can't or alternatives Thanks Tom hello i think u r using fx 2.o in this codecondition take default return type ...Show All

  • SQL Server Help with Web Sync sql 2005 to sql express

    Hello,    OK I finally got the subscriber connected to the IIS server for replication. I am now getting errors when trying to apply the snap shot. Below is the error Did I setup the publication incorrectly by selecting replication with another sql 2005 Am I supposed to select something different when trying to replicate between slq 2005 and sql express Source:  Merge Replication Provider Number:  -2147201001 Message: The schema script 'activities_2.sch' could not be propagated to the subscriber. 2005-08-24 20:52:35.920 Percent Complete: 0 2005-08-24 20:52:35.920 Category:NULL Source:  Microsoft SQL Native Client Num ...Show All

  • Windows Forms Problems creating XML and Schema from SQL

    I am using a vb.net program to process SQL Stored procedures to create XML data and schemas. When I validdate the schema (generated from vb) against the XML (generated from vb) I am getting the following error:  The 'prodai' element has an invalid value according to its data type. An error occurred at (10770, 22).  Prodai is defined as a decimal ( ...Show All

  • SQL Server SQL memo datatype (SECOND TIME)

    Someone has to be using memo data in SQL I have a simple VB.Net application that records Engineering Change Requests.  Currently I'm using varchar fields to record proposed changes.  I'm using varchar since I don't know what the datatype that is equal to the MS Access Memo datatype. I did look in the help files with limited success.  If I remember correctly it said that you can use the Image datatype to store large amounts of data.  When I tried to creating a select statement in VB.Net with an Image datatype field, VB said that it can't handle that datatype. Help Thanks David Davis I ...Show All

  • Visual C# Inheritance in C#

    Hello Friends How can I inherit class usign Access Modifier (public, protected, private, internal) in C#. for e.g. in C++ we can derive as follow class DeriveClass : public BaseClass{ } or class DeriveClass : private BaseClass{ } or class DeriveClass : protected BaseClass{ } how can i do the same in C#. C# doesn't support protected or private inheritence, but most of the time when protected or private inheritence is used, what is really needed is protected or private containment. ...Show All

  • Visual Studio Express Editions "Parameter is Incorrect" When Creating Tables

    I am attempting to create a table through the database explorer.  The problem is, every time I right-click on Tables, and select Add New Table, I receive an error message stating "The Parameter is Incorrect" I CAN connect to my SQL 2005 Express server, and the connection to my project's database works, but I cannot add tables... Any ideas Wish I knew. I have the same problem. I see your posting was made 2 months ago ... I guess no one knows the answer ... Oh well ... ...Show All

  • SQL Server SQL Server Service Broker Admin Tool for SQL Server 2005 RTM

    Back in July I released the (then) latest version of SsbAdmin. For you who don'r know what it is; it's a tool which allows you to graphically administer SQL Server Service Broker. I have now uploaded a new version which is compiled against the released versions of SQL Server 2005 and .NET 2.0. You can download it from here : [0]. After download, un-zip to some directory and read the README.doc file. [0]: http://staff.develop.com/nielsb/code/ssbadmin.zip Hey Rushi, I actually do have a half-working implementation of the import/export service listing. I'll send you the source for that when I' ...Show All

  • SQL Server About Indexes & Where caluse

    Hi, I am struggling with the sequence of parameters in my where clause. In my databse table i have index on Broadcast_Date(some table field).The Index also include some other parameters which might become part of where clause. The first field of the index is broadcast date. So I want to know whether it is always compoulsory to have broadcast date as my first field of where clause. Will it not scan the index if my where clause is starting with any other field which is also part of index. Will it hamper the query performance any way Any help will really be appreciated. Thanks Vyanki Hello, the orde ...Show All

  • Visual Studio Express Editions CD Deployment using ClickOnce

    I am developing an application using Visual Basic 2005 Express Edition. I need to deploy it via CD. I want it to: install an icon on the user's desktop autorun install on computers without internet access Can ClickOnce be made to do the above Will Visual Basic 2005 Pro Edition do the above How much is it What other options do I have Yes, Visual Sudio.Net 2005 can do it... For the autorun, you must install .Net Framework before run the autorun-program, when you insert the CD you must check if the .Net FW already installed, if it is not you must install it... Hope this helps. Edited, thanks! ...Show All

  • Visual Studio AvailableItemName - unexpected behaviour

    When I add a new Build Action entry via the AvailableItemName Item, the text "AvailableItemName" also shows up in the Build Action's drop-down list.  I added this entry in my .csproj file: <ItemGroup>  <AvailableItemName Include="JScript"/> </ItemGroup> These were from the instructions provided here: http://msdn2.microsoft.com/en-us/library/ms171468(VS.80).aspx How can this behaviour be avoided   Hi, If you set the item to not visible in the project, that should work. Like the following: < ItemGroup > < AvailableItemName Include = " JScript ...Show All

  • Visual Studio Tools for Office Revisions in Bookmarks

    When I access a Microsoft.Office.Tools.Word.Bookmark object in my code I was hoping to use the Revisions property to get the revisions within only that bookmark.  I seem to get all of the Revisions of the entire document.  Is this the way it is supposed to work Bill Microsoft.Office.Tools.Word. Bookmark book; IEnumerator books = Controls.GetEnumerator(); while (books.MoveNext()) {     if ( books.Current.GetType().ToString() ==       "Microsoft.Office.Tools.Word.Bookmark" ) book = (Microsoft.Office.Tools.Word. Bookmark )books.Current; else   conti ...Show All

©2008 Software Development Network