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

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

mab296

Member List

cgoodyear
ZavaDog
Lakshmi Padala
Rchard Ramsden
greenwire
Pirks
Azathoth
Christo Djambov
Skyblue1
carl64
n platt
WATT
gkb
Bruno Ribeiro
Rod_Kane
GaryJones
Eric Duran
kr.Nitesh
JasonRiccio
Splinta
Only Title

mab296's Q&A profile

  • Windows Forms Another Wierd bug - Base class designer displays, but derived form doesn't

    I have a couple lines of code in my base form that references an external assembly, renders fine in the designer. But my derived forms give an error in the designer saying "Could not find assembly ORMapper"!!! I've been on a roll for wierd bugs lately ...Show All

  • Visual Basic VB Express: can I use VB 2005 .net books?

    Except for the features that are not supported by VB Express: Applications that connect to a networked database Interact with Microsoft Office Support mobile devices or 64-bit operating systems Remote debugging (any others I haven't listed ) Would books about Visual Basic 2005 still be highly relevant for Express users Also note that there are some differences in the user interface - for example, the Server Explorer in VB 2005 is replaced by the Database Explorer in Express. You will run into other situations where the description in the book is different than what you see in the IDE, b ...Show All

  • SQL Server How to encorporate IF

    How can I put an If statement saying If # RECORDS returned from the query below IF  # records returned is > 1 then     SUM(rmstranamt) AS  rmstranamt10   ELSE rmstranamt AS  rmstranamt10   here's my statement ------------------------- SELECT     RMSFILENUM,           rmstranamt AS rmstranamt10   <-----If statement goes here base on if the amount of records found in select is >1 or not FROM RFINANL WHERE RMSTRANCDE = '10' GROUP BY RMSFILENUM, rmstranamt ) AS rf10 ON rf10.RMSFILENUM = rm.RMSFILENUM     ...Show All

  • Visual Studio Installing AddIn to VC 8.0

    Hi, Could someone please point me to a documentation or explain me What is the proper way of installing AddIn into VC8.0 Thanks, -z see doc section Add-In Registration under Development Tools and Languages->Visual Studio->Integrated Development Environment for Visual Studio->Customizing and Automating the Development Environment->Automation and Extensibility for Visual Studio->Extending the Visual Studio Environment->Creating Add-ins and Wizards. aka ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_extcore/html/d5c018ff-4dcb-4ff3-9dd4-0a66fa1 ...Show All

  • Visual Studio Express Editions SendKeys Only Sending Once...

    Okay, I'll be quick. What I'm trying to do is use SendKeys( My.Computer.Keyboard.SendKeys(String, Boolean)) to sent text to one of my online games so I can play and not type all the time. Here is what I am doing: Declare Auto Function FindWindow Lib "USER32.DLL" (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr Declare Auto Function SetForegroundWindow Lib "USER32.DLL" (ByVal hWnd As IntPtr) As Boolean Private Sub Open_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Open.Click Dim BWarHandle As IntPtr = FindWindow(Nothing, "Brood War") If BWarHandle ...Show All

  • SQL Server limited number of connections to SQLMobile?

    Using System.Data.SqlClient is there a limit to the number of connections an application can have to a SQLMobile dB If you have a look at the url below, it says "A device can only have a small number of connections to an instance of SQL Server at any time" Does this mean 2, or 8 or what Should a app try to use only 1 connection throughout, or can we get away with 2-3 Is this the same on WM5.0/PPP2003 Any advice in this area much appreciated! http://msdn.microsoft.com/library/default.asp url=/library/en-us/sqlce/htm/_lce_sqlclient_705.asp p.s. I'm not interested ...Show All

  • .NET Development IndexOutOfRangeException

    I am using Xml serialization to serialize a class. I use [XmlRoot()] to specify the root element and then I also implement IXmlSerializable to control the format of the serialization. I write attributes onto the document element and that works fine. Then i try to use WriteElementString to add a child element. Also if I try to use WriteStartElement it also throws IndexOutOfRangeException. I did not find much about this on the internet. What does this exception mean. I have very similar code, (the same functionally) in another project and it works fine. Any help would be great. Thanks. Steve There is not enough information provided t ...Show All

  • Visual Studio Problem with List type value property

    I'm having a problem getting a value property with a non-standard type to work as expected. I want to add a value property with a list type to one of the classes, so what I have done is created a trivial subclass of System.Collections.Generic.List whose type parameter is a trivial class with a few properties: public class ViewCollection : System.Collections.Generic. List < ViewItem > { } public class ViewItem { private string channel; private ViewBaseType viewbase; private string viewparameter; public string Channel { get { return channel; } set { channel = value ; } } publi ...Show All

  • .NET Development Application Folder for COM Interop deployment

    I have a working .NET program using COM Interop.  I would like to add a Help (rtf) file to the program. I put the Help file in the same folder as the DLL.  How can I find the location of the .NET DLL at run time Thanks Mister T You can also use the Assembly.Location property to get the absolute file system path (e.g. without the protocol prefix). Thanks, Stephen http://blogs.msdn.com/stfisher ...Show All

  • .NET Development ByVal or ByRef

    Hi, I have a array of objects of a class (written by me) in my program. When i try to do some manupulation i make a function for that within the class and call the function with parameter as ByVal soemthing like private function NameofFunction(byval x as clsMyClass) as boolean ... End function Now, When I test my program it is giving error (logically)  as it changes teh object of my array inspite of that I am just refering to it to read and no change in value. Now Can any one please let me know. Who should i pass the variable (custom class object) so that a function doesn't change them Thanks Hi, Let me try to expla ...Show All

  • Visual C# problem with using dll function and c#

    Hey, I have a little problem. I have a function wroted in c++ and compiled to dll. One of the parameters of this function is void*, because it gets different structures, depending on situation. I use memcpy to fill the structure and all is ok. Where is a problem I try use this function in c#. I import DLL, and when I pass the reference to int (c++ reference) into void* parameter it works, but how can I pass into void* reference to any structure. I can't get it's adress. For example (I'm fresh in c#) when I try to declare char* a = new char[25] the compiler returns error of conversion - ok, but If I try char ...Show All

  • Visual Basic How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)

    I use new WEBBrowser control (VS2005) in my program (WinForm) for open web site. (VB2005) After using method "navigate", in my webbrowser control I have HTML page from some website. This HTML page  has some input button with events  or input text control or other interactive control on it. I can click with mouse on that buttons or input text from keyboard or select value from combo box to send this page back. question: How I can execute this  from my program code, using property and methods WebBrowser control Thank for attention. Hi, You can do it by accessing the ...Show All

  • .NET Development Massive Membership changes in RC? How to open a beta 2 website in beta3?

    So I have a project we've started in beta 2, I've just installed the release candidate on a lap top luckily (so we still have a working version) copied the project over, went to compile.  Fixed a few things that the new version doesn't like such as declaring using System.Windows; tried again.  Compiled and I though great.  Only no ..... All the login functionality appears to have changed   For instance the aspnet_Membership_GetPasswordWithFormat now takes four parameters instead of two.  Trying to open as New Project From Existing Code didnt' seem to apply to Websites, it wanted me to have a console or windows app ...Show All

  • Visual Basic Combo box refusing to set text

    Hi, I have been encountering a bug where a combobox, which only has a datasource but not databindings, would not allow for me to set its text to a default value. The idea is that i display "Vehicle make" in the combobox until a user makes a selection. Here is the code: cboVehicleMake.DataSource = dsControls.Tables(objTempTable.TableName) cboVehicleMake.ValueMember = dsControls.Tables(objTempTable.TableName).Columns(sVehicleMakePrimaryKey).ToString() cboVehicleMake.DisplayMember = dsControls.Tables(objTempTable.TableName).Columns(sVehicleMakeDisplayColumn).ToString() cboVehicleMake.Text = "Vehicle make" ...Show All

  • Windows Forms Making a scrollable panel scroll with mousewheel just by hovering mouse

    Hi, I have a particular problem with a possible solution and I am interested in hearing peoples opinions if it is the right way to go about it (or not  ) Some applications I have come across, such as Firefox, will allow the user to scroll the document window just by hovering the mouse over the display area and using the mouse wheel. You don't have to focus / select the display area first. With Firefox, the address bar can have the focus and the keyboard input but you can still scroll the document. Contrasting with IE and Visual Studio, you have to click into the document area before it responds to mouse wheel messages. In my ...Show All

©2008 Software Development Network