Software Development Network Logo
  • SharePoint Products
  • Microsoft ISV
  • Smart Devicet
  • IE Development
  • .NET Development
  • Windows Vista
  • Visual C#
  • Game Technologies
  • SQL Server
  • Visual FoxPro
  • Visual C++
  • Windows Forms
  • VS Team System
  • Visual Basic
  • Visual Studio

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

entrance80

Member List

dmetz
Yudy
CommerceSherpa
Eugene Ye
C3i
JS TCS
JWhite
gafferuk
DarthCoder
KnobCreek
rdomo
Fraser Drysdale
Asiye
Hosam Kamel
Jan Kučera
Yuriy D
Rani09
Dany V
Rashar
VOC
Only Title

entrance80's Q&A profile

  • Visual Studio 2008 (Pre-release) How to keep a Popup aligned with a Control

    My scenario is the following: I want to show a Popup below a TextBox for giving help informations. The problem is that the (opened) Popup stays at the same location when i move the parent Window or the TextBox (through animation). My question: Is it possible to keep the Popup aligned with the TextBox so that it stays below the TextBox even if i move the window Through databinding or something like that (A tooltip is not an option for me.) Well as I have read other posts and help files, I have come to the conclusion there is no other way to do it but manually. You will have to use the Popup's .HorizontalOffset and .VerticalOffset properties in conjunction with the container/window  that is being "moved/dragged". &nbs ...Show All

  • Visual Studio Tools for Office Exception

    i created a add in, i am using fileSystemWatcher, if the file is changed i am updating my commandbar button. but when i executed fileSystemWatcher's changed event it gives me error : {"The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))"} How to slove it Hi, You'll want to be much clearer in future posts about what you are doing if you expect to get help. I have no real idea what you are doing, what product you are using, or even what language/platform you are coding with/against. However, what that error is telling you is that the application you are calling into is not willing to handle the RPC call at the time you ...Show All

  • SQL Server Adding new columns with check constraints using same batch

    I'm using a stored procedure to add fields to an existing table. These fields must have check constraints and I need to use one T-SQL batch. In Sql2000 Ok. In Sql2005, if table exists, I get error "invalid column xxxxx" in Add Constraint statement before new column creation. the code is Declare @Setup bit Set @Setup = 1 if @Setup = 1 Begin --Alter Table MyTable Add MyField Numeric(1, 0) Not Null Default 3 Exec mySp_Add_Column 'MyTable', 'MyField', 'Numeric (1, 0) Not Null', '3' If IsNull(ObjectProperty(Object_Id('xCK_MyTable_MyField'), 'IsConstraint'), 0) = 0 Alter Table MyTable Add Constraint xCK_MyTable_MyField Check (MyField >= 1 And MyField <= 3) End Else Begin -- drop column ...Show All

  • Windows Forms Disable Tree view checkbox

    Hi, I have placed a tree view in windows form and made as disable. Now checkbox also disabled but still the checkbox shown as enabled. How to make tree view checkbox look like disabled as normal checkbox Thanks Balamurugan ...Show All

  • Windows Forms Publish error.

    Following error happens once in a while, could someone tell me why it is happening Error 68 Publish failed with the following error: Could not find a part of the path 'C:\Development\Test\Test\Source\Shell\bin\Release\Test.publish\Test_1_0_0_9'. Thanks in advance. I've gotten that error a few times, and what I have done is to just manually increase the Revision count, which creates a new publish folder/app manifest version.  Then it publishes ok.  Hope that helps, John ...Show All

  • .NET Development Server Application Unavailable - 1.1.4322 - access - machine.config

    I have a new workstation (xp pro sp2) that I am having trouble with. When I try to open an ASPX page on the localhost I get the following error: Server Application Unavailable . It refers me to the application event log for more info. There, I find two errors: aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid. and aspnet_wp.exe could not be started. The error code for the failure is 800700CB. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the conf ...Show All

  • Visual Studio Express Editions ListBox question

    I am importing a file into my listbox and I want the second value to open up the actual directory where the file above is located. Is there a way to do this Files is simply: nameof-file File-location pointers are always appriciated Sorry - let me explain more ... I have a text file that I load into a list box. The text in the list box is 2 lines per per file entry - that is a file name then the next line is the location of the file "G:\directory\directory\" or what ever the associated file location is. This is repeated over and over. What I want to do is show the file name then the line below to be a button or somehthing so that when you click it either the file will pop up or just the directory - which is I thi ...Show All

  • Visual C# How to catch Exception that throw by timer

    I have a WinForm application and a timer inside. The timer will throw an Exception while event Elapsed. How can I catch this Exception in WinForm One thing that may be of help is to use the WinForms timer rather than the Timers timer or Threading timer. As memory serves, System.Windows.Forms.Timer raises its Tick event on the UI thread of the Form. There are two other Timer classes in the .NET Framework with different behaviors, one of which does in fact execute on the threadpool thread and unhandled exceptions on threadpool threads are as mentioned deadly. Anyway, the significance of using the Forms Timer is that when it throws an exception that goes unhandled it should bubble up to the System.Windows.Forms.Application.T ...Show All

  • Visual C# How do I get my random numbers random?

    I have a line that goes like: total += Max3of(Roll(), Roll(), Roll(), Roll(), Roll(), Roll(), Roll(), Roll()); It is trying to find the top 3 rolls out of eight and when I set a break point at the Max3of(...) function and examine the parameters that were passed in they are always all the same(3,3,3,3,3,3,3,3 for example). But if I debug by stepping into the line above and following its calls to Roll() it produces the result I am going for which is random numbers for each roll (3,5,7,9,3,6,2,8 for example). Could you explain why there is a difference when I step through the program and when I just let it run and which is the correct functionality for the line I've written above If it matters this is the code for Roll(): private ...Show All

  • Visual Studio Class Designer GPFs under SP1 when Delete Code operation is done

    Issue I discovered this today and after a quick search through the forums did not find any similar issues. The reproducable event occurs on an pre-existing class object on the diagram that has been changed from Compile to None. When the object in question is selected for deletion the operation shows this Visual Studio popup messages stating Exception From HRESULT 0x8004271A Steps Create a C# windows class library project ( Optional ) Class1 will be used in this example but another class could be created and used. If so do that at this point. Create a class diagram by selecting the project in the solutions explorer and choosing View Class Diagram after right clicking the project. After the class diagram is created go back to the solu ...Show All

  • .NET Development problem with .Net code running on framework 1.1 stopped working on 2.0

    Hi, I have an application built on VB6.0 using VB.Net dll built on .Net framework 1.1. It has a piece of code in .Net that downloads a file from database using System.IO.BinaryWriter and saves on Windows folder. It's fine working when .Net framework 1.1 is only my system but started downloading the files with 0 bytes(though the files is 73 KB) after installing .Net framework 2.0 Can someone let me know what could be the reason for this issue and how to fix/make my existing application work for all the the versions of the .Net Framework. Please post me if you have any references/links for this Thanks in advance Esh Michael, Here is the function that causes the problem... this ...Show All

  • Visual Studio Tools for Office Action Pane is disabled when I save the document and reopen.

    Hi, Please any one can let me know what is the problem with Action pane when I save and reopen the Excel document. Action pane and its controls get disabled when I perform following steps. 1) Open Excel document,Populate some data and save to hard disk. 2) When I reopen and click on Action pane controls, all the controls gets disabled and no events are fired. Do I have to do some reinitialization for the action Pane Regards, Uma Kadagi. you can install all the dlls in the GAC, this should allow you to open the excel spreadsheet from anywhere and still have your code loaded into excel. ...Show All

  • .NET Development How-To (Object Class => Binary Serialization => To Memory => Encrypt => Save to File)

    Hi Every body .... I have a [Serializable] Class like this ======================================================== [Serializable] class Customer { private string _CustomerName; private string _Country; public string CustomerName { get { return this._CustomerName; } set { this._CustomerName = value; } } public string Country { get { return this._Country; } set { this._Country = value; } } } ======================================================== How can i use Binary Serialization to serialize the object class temprary to Memory and Encrypt it and then save the encrypted to file. Like this 1. Object Class => Binary Serialization => To Memory => Encrypt => Save to File 2. Read file => To Memor ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Any regional restriction about Creators Club membership and XNA Game Launcher

    I am an indie developer in Hong Kong. It is so exciting that XNA will be released in 11th Dec, and I decide to join the Creators Club immediately so that I can test my homebrew game on XB360 asap. But I would like to confirm that is it any problem to subscribe and execute the XNA Game Launcher on HK / JP or US XB360 Your creators club membership is tied to your 360 so, there would need to be an active creators club membership for each xbox 360 you wish to run your homebrew on. This isn't a limitation however, as most sane people only have the one 360. ...Show All

  • Smart Device Development Compress data on GPRS connection

    hi all! i have a smart-phone with CF 2.0 but it haven't umts/wi-fi connection. i have read that the CF 2 support the gzip compression, right so...is possible to compress all the data on gprs, send them to a server (with public ip) that decompress and send them to the final destination and the same for the answer, the server compress the answer and send it to my smart-phone that decompress the data. so to have a faster connection and to pay less (i pay for kilobytes)   Tony512 wrote: so..if it should work the problem is how compress all the packet... if i set a proxy that point on the same phone  on a specific port (127.0.0.1:xxxxx), and on that port i set a TCPlistener ...Show All

©2008 Software Development Network