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

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

Ando182

Member List

Peter-j-c
srujan88125
Kbathgate
rborders
Xcelsion
Petulka7
UncleRemus
thea.umali
PankajJSingh
dave_42_mu_
Erv Walter
Ryan Paul
SuryaGopi
v-lo
oel43249
WalidDib
jefri besharati
DirtBag123
Paul Cavanagh
Bill Anderson
Only Title

Ando182's Q&A profile

  • Windows Forms RichTextBox Text Selection

    I have noticed that the behaviour of the caret when selecting text within a RichTextBox control is different from when selecting text within a TextBox control. For instance, if you attempt to select a region of text within the RichTextBox control, the selection will expand ahead of your cursor, and before the caret to a word boundary, even with the AutoWordSelection property set to false.  This is really annoying when you are trying to select part of a word. Is there a way to force the RichTextBox to mimic the text selection style of the TextBox control Thanks, Adrian. Apparently it's true - this f ...Show All

  • Visual C# Unloading Or Releasing an Unmanaged Dll When Using DllImport???

    I am trying to figure out how to unload and Unmanaged Dll that was originally loaded with DllImport, but I have not had any luck so far. Let me explain the reason for wanting to do this.  I have an unmanaged Dll containing resources.  I load this dll and check it for a specified value.  If that value does not exist, I want to update the resources.  The problem I have run into is that the unmanaged Dll is not being unloaded after I check for the specified value and therefore I cannot update the Dll resources. Can I use Dispose to unload the unmanaged Dll   If so, how   If I cannot unload the unmanaged Dll are the ...Show All

  • Visual Studio Tools for Office Help deployment Microsoft.VisualStudio.Tools.Applications.Runtime error '8004040a' -SOLVED

    i have a web site that enables users to upload excel workbooks and on the server i am adding a new sheet of mine(custom) and attacing a manged code behind to the work book this managed code is some kind of tool that opens in the action pane. 1) it works on my development pc - of course after configuring each end user pc 2) deploying it on another server, well that is impossible. my application is devided to two: the call is from an asp page in vbscript the vbscript creates a com visible object and calls its init this is how init looks like ExcelPricingHelper pricingHelper = new ExcelPricingHelper (workBookPath, demoEx ...Show All

  • Windows Forms Remoting

    I've looked at this article in the visual studio help .NET Framework Developer's Guide: "Remoting Example: Asynchronous Remoting". Here, you are instructed to run "vbc -r:ServiceClass.dll RemoteAsyncVB.vb" to compile the client side.  This creates a file "RemoteAsyncVB.exe".  But what if you want a "RemoteAsyncVB.dll"   Is there a way to do this   ...Show All

  • SQL Server Can we use Stored Procedure in Report Model

    One of the members said we can use Stored Procedures when we are designing the Report Model. Am I right Please could you tell me details of Where and how can you set the CommandType as "StoredProcedure" Thank you If you bring up the database ddesigner dialog (in the Data tab, click the ellipsis next to the dataset dropdown), and in the Query tab of that dialog is a dropdown called CommandType, in that you get to set the command type as stored procedure. sluggy ...Show All

  • Smart Device Development CF2.0 Throws exception in Marshal.PtrToStruture method

    I created new project in VS2005 and copied my existing code for PPC 2003 devices. The same code runs perfect in VS2003 for the same PPC2003 device. Now when I run the same applicaiton in PPC2005, it throws 'Argument Exception' in Marshal.PtrToStructure method call. I use InteropServices adn this P/Invoke method call in my code to find the permenant storage card name in the device. I have copied the code that is involved in the error here. It is not complete code. If you need complete code, I can post it. public struct FILETIME       {          public int dwLowDateTime; &nbs ...Show All

  • Visual Basic ?: conditional operator in vb

    What would this look like in VB int x = (boolVar1 0 : 1) | (boolVar2 2 : 3) | (boolVar3 4 : 5); Thanks I think that Iif replaces the conditional operator, but it evaluates both sides of the expression, so be careful of that. The word 'or' replaces |, I believe, but I'm not sure if it's a bitwise or. ...Show All

  • Visual Studio Team System Recommended setup and hardware requirements?

    Reading my question please note, that I haven't yet received Beta 2 and consequently haven't read the documentation included in Beta 2. Problem: We would like to establish a test environment with the Team System Foundation Server that is as similar to the final production environment as possible. I have searched the web for descriptions of the recommended setup and hardware requirements and the closest I got to answers is the following links: http://msdn.microsoft.com/chats/transcripts/vstudio/050223_vstf.aspx  (search for "requirement") http://blogs.msdn.com/brianwh/archive/category/7742.aspx ...Show All

  • Visual C++ Can C++ develop web-based applications?

    Hi, All New to C++ programming. and have put resource in C++ and VC books and time learning it. But now I was told that C++ can not develop web based apllications. Is this true or some extensions of C++ can go around this limit I need develop a web-based database, so the users can input company names, location, phone numbers. etc. and the users can have a full text search on this database. Do I have to learn C# and and SQL to do this Thanks. You need to learn SQL no matter what. You can write web apps using VBscript and C++, that's call ASP. It really sucks. You should learn C# and ASP. ...Show All

  • Visual Studio Team System TFS: Can't access to TFS Beta 3 Refresh from remote Team Client

    Hello, I have two machines in my test network - first is domain controller running under Windows Server 2003 R2 Build 2038, I have installed WSS SP2 that came with R2, SQL Server 2005 as the default instance (RTM). The second machine is running under Windows XP Media Center Edition 2005, it is joined to my domain (I know how to do that). I installed TFS B3 Refresh successful by using recommendations following to Installation Guide, created two accounts for TFS - TFSSERVICE and TFSREPORTS. But now firstly there're not any administration tools for configuring TFS. Ok, I tried to connect to TFS by using my Visual Studio 2005 RTM from my client ...Show All

  • SQL Server isNumeric() - it can not be right?

    hi, i am migrating data from a legacy system with a not nice front-end. as a result, i have all sorts of garbage stored on the tables. i am trying to convert values from varchar(12) to float, but i have an error during selecting data that says that data can not be converted eventhough i am using the ISNUMERIC() function to check. case when isNumeric( myCol01 ) = 0 then null else convert( float , myCol01 ) end but my error occours when ISNUMERIC() encounters the value  '.       &nb ...Show All

  • Visual Basic ToolStripButton and PrintDialog (Vb.NET Beta2)

    I find the Print Dialog Box is not in activate when fired by button on ToolStrip, like: Private Sub ToolStripButton1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles ToolStripButton1.Click    PrintDialog1.ShowDialog() End Sub   The printDialog has to be made active by clicking once before making any print options. However, it is alright by normal buton, like: Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button1.Click    PrintDialog1.ShowDialog() End Sub   Is this a bug or no ...Show All

  • Visual Studio Express Editions How To control active X scrollbar (IExplorer Active X)

    Hi ! I write a program using an active X which permit me to include an Internet Explorer. that works well, but, i wanna send events like keyboard key, (using SendMessage or keybd_event). the aim is control scrollbar. program schema : .Principal Window --IExplorerObject ----WebPageActualyViewed. I can access to IExplorerObject, but not to the WebPageActualyViewed. I think WebPageActualyViewed contain its own scrollbar. How Can i send event to WebPageActualyViewed Thanks very much. Duplicate post, find answer here . ...Show All

  • SQL Server Getting exception on executing ExecuteCellSet on AdomdCommand object

    I'm trying to execute an mdx query in C# and getting exception on calling ExecuteCellSet() on AdomdCommand object, This is the code snippet // initialize a new adomdcommand object for the specified connection objCommand = connection.CreateCommand(); // supply the command text for the adomdcommand object objCommand.CommandText = queryString; // attempt to run the command on the cell cellset try { objCellSet = objCommand.ExecuteCellSet(); // return the retrieved cellset return objCellSet; } catch (Exception ex) { Console.Write("Exception: " + ex); objCellSet = null; return objCellSet; }   Exception: S ...Show All

  • Smart Device Development PInvoce and DesktopCompatible(true) not working

    Hi Have a question. My own Lable class shows the classname at design time and not the text I give it in the property editor. At runtime all seems to be just fine. I woul be super hapy if some one could tell me what is wrong. here is the class definition: public partial class LabelLTT : Label , ITranslatable { private int _intLTTTranslationCode; private string _strLanguage; public LabelLTT() { InitializeComponent(); } protected override void OnPaint( PaintEventArgs pe) { // Calling the base class OnPaint base .OnPaint(pe); } #region ITranslatable Members public string Language ...Show All

©2008 Software Development Network