zeroguitar's Q&A profile
Internet Explorer Development asp.net 2.0 application with Master Page does not display properly under ie7
I have an asp.net 2.0 application which when viewed on internet explorer 7 does not display properly. There is a footer that tends to appear in the middle of the screen, which was previously at the bottom, and also when grids appear and have enough data to scroll down the screen, the footer and the outline of the content page do not move down to accomodate this. I tried some recomendations from the ie7 site, but couldn't get it to work. Also this is specific to one website, others using a similiar setup work fine Any thoughts on where I should look next regarding this Aren't you missing the point here When you use a master page, you should be able to put header and footer code in it directly, not use .as ...Show All
Visual Studio Express Editions Computer communicating with myBrowser
Hello, I have created a web browser and just having 1 problem. I have set my browser up in the registry as the default browser and that works great. You click on a link on your desktop or wherever on your computer and it opens up myBrowser not IE, but my problem is that when it opens up myBrowser it just loads the homepage and no the webpage of the link/shortcut that the user clicked, so somewhere in my code, it is not accepting the webpage url request from the computer. Does anyone have an idea why this is not happening. myBrowser Class is listed as public also. I'm just trying to get my Browser to accept the website address and to navigate to it when the user clicks a link or shortcut on there computer system. I appreciate anyones help o ...Show All
Architecture Calling Biztalk Rules Engine Remotely
I want to know if we can call the BRE from custom code (.NET API) remotely Lets say, The BRE is installed on Biztalk server. And I have an Asp.NET Web Application on a different IIS Server. Can I invoke the BRE from this ASP.NET web application If service is located on web server, Biztalk Framework should be installed on webserver to refer Microsoft.RuleEngine.dll. ...Show All
Visual C# Object.Equals causes lots of mistakes.
I think object.Equals in .net framework is a really bad method: it's implemented somewhere,but in many other place,it's just a wraper of ReferenceEqual. In a recent project, i use BitArray's Equals to compare two BitArray and of necessity, it's not overloaded and is still object's Equals.So two BitArray like "010010" and "010010" are "not equal". It cost me much time to find where the problem is. So,I think the better implementation of object's Equal should throw NotImplementedException. In such a case,at least we can find what has caused the problem. To be frankly, I would say dotNet's class library has lots of bugs,many helpful but simple method is not implemented correctly. Many object oriented method is us ...Show All
Smart Device Development REplacing/HIding recipient "Address/number" in "TO" field by recipient name or some other string.
Hi all, I am trying to send SMS from my application which looks something like this string toSMS ="+911234567890'; SmsMessage message = new SmsMessage (); message.To.Add( new Recipient (toSMS)); MessagingApplication .DisplayComposeForm(message); This showz the specified number on compose form but I dont want to show the Oriiginal naumber. Instead of original number I want to show the name of recipient when that compose SMS form will open. That name should be resolved to that number I specified. Any help will be appriciated. Thanks IN advance. PLz reply ASAP. To my knowledge, you must do the contact lookup manually. Once you lookup the contact, add a recipient (Name/Number pair) rather than a st ...Show All
Visual C# Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Configuration,...Failed to grant minimum permission r
Hi group, We created a .net 2003 C# COM dll using EnterpriseLibrary June2005 and Framework 1.1 SP1. The DLL is being referenced by either VB6 or Excel 2000 (VBA). Using this code (VB6 example): Dim objXML As MSXML2.DOMDocument30 Dim datStart As Date Dim datEnd As Date Dim objTrade As Variant If CheckValues Then NominateExternal.MousePointer = vbHourglass DoEvents lblStatus = "processing international workbook...." DoEvents 'day ahead moet genomineerd worden If chk(0).Value = 1 Then datStart = Me.txtNominationDate datEnd = Me.txtNominationDate datEnd = datEnd + 1 Set objTrade = CreateObject("EndurAggregator2Xml.Trade") Set objXML = objTrade.GetNominationRTE(datStart, datEnd, "E") This has always worked ...Show All
Smart Device Development Tutorial "Backgound Image on Form" throws NullReferenceException
Greetings, I am looking for a solution to the below problem or a code example that we show me how to change the background image on a form. Thank You John K Using the below example I'm trying to change the background image on my Form. I am using Visual Studio 2005 and programming in C#. The target is mobile phone 2003. The JohnK.jpg is added to the project and the "Build Action" is set to "Embedded Reference" This code looks good to me (a novice). The example is for a PDA. It should still work. http://samples.gotdotnet.com/quickstart/CompactFramework/doc/bkgndimage.aspx Everytime I add the recommended code snippet: public Form1() { InitializeComponent(); backgroundImage = new Bitmap( ...Show All
.NET Development IPCChannel .NET 2.0 and events with multiple clients
Hello, i got a problem with the use of the IPC-channel and events with multiple clients. I need this solution to inform all the clients (they are all running on the same machine but under different useraccounts) about the changed state. The design is that i use 2 MarshalByRefObjects, one is my "main"-IPC-object, is has 2 events which i register my EventSink to. The other object is my EventSink, a MarshalByRefObject which has the delegates to which my client is connected to. This EventSink is created by my clients, every client creates one EventSink. This solution works fine until i use only one client, if i use more clients only one client gets the event, when the server tries to send the event to the other clients an ...Show All
.NET Development How to match regular expression
Hi all, I am new in using regular expression. Let's say if I have a string as follow "A12345.BC" how can I use a regular expression to match it as "CDDDDD.CC" where C is character and D is digit. How can I do a check in C# Thanks Hi, Thanks for your help Just to check with you, I had an expression as follow: "ABC12345-01-A1" May I know is my regular expression right And also, may I know how to convert string to string array I had tried using charArray, but it won't work. Thanks string testStrings = txtID.Text; string [] test = testStrings.ToCharArray(); foreach ( string str in test) { if ( Regex .IsMat ...Show All
Software Development for Windows Vista batching : IPendingWork.Commit
MSDN Says : " The workflow runtime engine calls the Commit method when its semantics dictate that the pending work in the work batch should be committed . When it reaches a commit point, the workflow runtime engine calls the Commit method on each IPendingWork object in its work batch; the workflow runtime engine passes the Commit method the collection of items associated with that IPendingWork object. Either all of the work in a batch succeeds or none of it succeeds. You should throw an exception if any of the work items passed to the Commit method in your implementation cannot be committed. Depending on your implementation, you may want to perform some rollback in your Commit method if it cannot commit its work items. If th ...Show All
Visual Studio Team System Merge operation created a folder behind TFVC's back
This may be hard to follow, but... An FI merge operation successfully merged a folder from the source to the target, but somehow TFVC wasn't aware of that. Viewing Properties/Branches of the new folder in the target branch showed that TFVC thinks that the folder was created in the target branch and had no relationship to the source. But, viewing Properties/Branches for the contents of the target folder showed that the contents were branched from the source. A second merge operation in the same direction merged the same folder again, and when checking in the pending "merge, branch" for that folder I recieved a "Filename Collision". TFVC thinks that a folder with the same name was created in the target branch. Aft ...Show All
Visual C# Default Encoding
Hi, I am at the point in my appication where I am downloading an email attachment from an exchange server. I can save the attachment, but cannot open it. Does this have something to do with the default encoding type I am using StreamWritier to write to the file, here's the constructor: StreamWriter (String) Initializes a new instance of the StreamWriter class for the specified file on the specified path, using the default encoding and buffer size. Supported by the .NET Compact Framework. Any help is much appreciated ! Thanks Could you be more specific about the problems you're having opening the file Do you mean you can't open it by double-clicking on it, or a program you've written ...Show All
Visual Studio Tools for Office VSTO 2005 SE deployment
we were unable to deploy the solution into another pc with word 2007. We've tried to use the installer which is provided by the word add-in project. We used the setup.exe to install the VSTO2005SE word add-in application on another machine with but it couldn't load properly as shown in the attached Image file. We've also tried to use the original GetXPath project that you gave us and using the setup.exe in the GetXPath.zip and install them on the same machine but it doesn't work and gives the same error Error: "not loaded. a runtime error occured duing the loading of the COM add-in" Development System: Vista RTM Ultimate VSTO2005SE Office 2007 Professional RTM Deployment System: Windows Server 2003 W ...Show All
Visual C# About properties
Can someone please explain to me in plain english what the following code is saying public string Result { get { if (_userAnswer == _correctAnswer) { return "Correct"; } else { return "Incorrect"; } } } thanks oh, IS dude It seems to be quite nature for you to regard properties as "strange" attributes, while actully they are special method called accessors , which provide a flexible mechanism to read, write, or compute the values of private fields. BR ...Show All
Visual Studio Express Editions Matrix implementation problem
Hi everyone, I am implementing a matrix program which create matrix according to the values on a file and write to or read from files the values of the matrix. However, since I am not able to compile my program, I would like to ask you that whether my class si logically correct and whether it gives a compile time error or not. If there is unexpeted situations in my code, would you please help e to fix them class SymmetricMatrix { public: int index1; int index2; int **matrices; /* * Constructor that initializes an empty matrix with a given size. */ SymmetricMatrix(const int matrixSize){ size = matrixSize; matrices = new int*[size]; for(int a = 0; a < size; a++) matrices = new int[size]; // assigni ...Show All
