deenaMay3's Q&A profile
.NET Development Generic List(Of T) Unexpected Results
I'm having some unexpected results when using generics. Here's some sample code with results below: When I change an item in the filtered generic list is changes the original generic list as well. Any help understanding why the two generic lists aren't isolated from each would be appreciated. Thanks. Private Class item Private _address As String Private _name As String Public Sub New ( ByVal address As String , ByVal name As String ) Me .Address = address Me .Name = name End Sub Public Property Name() As String ...Show All
Visual C++ ActiveX "Object required" error
hello sorry if you have replied to my previous question, i didn't have the chance to read your answer (thread deleted) I have this error that stop me from using an ActiveX that i have just programmed and checked using the control test container. "Object Required" (error is fired when i try to attach a variable to my control) Thanks a lot for your time Olivier Please provide more details. If this is inside IDE, list steps that you take before getting this error dialog. Thanks, Nikola ...Show All
SQL Server SQL 2000 and 2005 on the same cluster
We wish to upgrade our hardware of two sql boxes onto a single cluster. One of our databases will not run on sql 2005 and so I wanted to know if it is possible to run an instance of sql2000 and an instance of sql 2005 on the same cluster. This is possible or would it cause as a lot of problems Yes. This is supported as SQL Server 2005 and 2000 can be installed side by side on a cluster successfully. But you need to pay some attention to the following items. See BOL for more details. 1. Separate Physically-shared disks for SQL Server 2005 and 2000. 2. Separate IP addresses for SQL Server 2005 and 20 ...Show All
.NET Development Webservice SSL issue
I have a secure webservice that uses SSL (and basic authentication). I also have a client application that calls functions on this secure web service. We get an error " Could not establish secure channel for SSL/TLS". We have tried all the suggestions on the net and have finally run out of options. Has anyone else had this problem This problem happens sporadically on some machines, and on others it happens with every single call. The function I am testing is called "CheckConnection" and simply returns a 1. I am passing all of the logon credentials. Like I said, on some machines this error never comes up.& ...Show All
Windows Forms Transparencies won't work!
I have an msn like popup that I'm trying to put round corners on. I have an image for it, and I have tried several approaches. I have tried using yellow and blue, as the transparency color, and coloring the corners as blue in my image. I've set that image to the label background, and that didn't work so i put it on&nbs ...Show All
Visual Studio Tools for Office Display the Content of the Uploaded file in the InfoPath Form.
Dear Friends, I have some problem regarding InfoPath 2003. How can I display the Content of the Uploaded file in the Infopath Form. For Example ...if I upload the one Excel Sheet file (.xls)...After uploaded...The Form will display the Excel Sheet content on it (Obviously in the same Form). My Questions is it possible . Anyone can help me . Vasanth. Thank you very much Mr.Franck Dauche. If you find any articles regarding to InfoPath 2003...Please let me Know. Regards, Vasanth. Associate Consultant. Vasanth@vanasolutions.com http://www.vanasolutions.com ...Show All
Visual Studio Tools for Office Automatically signing a word document.
Hi, we're trying to make a document management setup in .Net 1.1 (we're not using 2.0 yet) . Where every outgoing document has to be signed by us and then signed again by the client for acceptance of the conditions. Now the problem is that we would like to automate our signing process (The clients sign using the built-in signature dialog in MS Word) Right now we have these code snippets that handle the signing: Word.Document aDoc ... // initialization etc aDoc.Signatures.Add(); aDoc.Signatures.Commit(); At the moment we add the signature, the standard word dialog pops up asking us with which certificate we want to sign. Which is ...Show All
Visual Basic HElp on how to open a form through VB.Net
Hello, I'm using VB.Net 2003, I createad a main menu (Form1.vb) and then created options for every menu (ex Form2.vb) now, how do I link it. Let's say I double click on an option of the main menu and the code windows opens, what code should I insert to make it open Form2.vb when pressed. I have used VB before but I had always used only one window (Form) I would appreciate any help. Thank you. If you need to pass variables to the new window you can do that by using Dim form as new Form1 ' only use this property if you are not using show() or showDialog() form.Visible = true form.myvar = "some text" where myva ...Show All
Windows Forms how do i superscript text
In windows forms, how do i superscript some text, which is displayed in the Label Control or in the textBox control. I need to display (kg/cm squared) in the label control. maams.......... This <a href="http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsrichtextboxclassselectioncharoffsettopic.asp">link</a> may help with regard to superscript text in a& ...Show All
Software Development for Windows Vista Tracking the workflow (State Machine)
Does anyone run the WorkflowMonitor Example on Beta 2.2 If you did it - please, write in this thread about your system configuration (windows version, framefork, wwf etc) or post working example. I tried to run TrackingProfileDesigner example also. The same thing! Otherwise I have writen my own application, which may connect to database store and draw the Workflow using embedded Designer. I whant to tracking the workflow (State Machine) in the middle of execution to see, in what state it is now. Is it possible Thanks, Pavel. I've had workflow monitor working many times. The key is to put your wo ...Show All
Smart Device Development pass paramaters from actual to hidden form
I have a form where all the field all empty (most of them labels) It should be filled with data from the next form, depending on the text of the textfield. So when I press on the actual form on the button the following actions are performed: String query = "select pnaam,pvnaam from patient where pnaam like '" + txtZoek.Text + "%'" ; patienList patientLijst = new patienList(query); this.Hide(); patientLijst.Show(); resulting in the new form public patientList(String query) { querie = query; InitializeComponent(); ...Show All
Game Technologies: DirectX, XNA, XACT, etc. On-line Gaming
Surfing the net, it seems that games are ubiquitious. Some sites such as MSN bolted on games as an adjunct, while others offered games as their main focus. I am a competent C++ programmer, and a fair ASP programmer, so I got myself thinking, why not post a game or two on my own site for people to play. Chess engines for eg. are a dime a dozen, and they are easy to install as they all use IOSTREAMS for their input/output making then a CGI almost trivial. What I am not sure about though is how good is the browser at rendering a front end, without the need for the user to d/l too many activeX controls etc. MSN games require players to ...Show All
Smart Device Development Error in deployment application for wce5.0 using vs.net 2005
Hi, due to an upgration of my mobile device OS from wce4.2 to wce.5.0 i have tried to convert an application from vs .net 2003 to vs.net 2005. The build of the application succeded but during the deployment an error occurs.The description of the error is "referenced package not found". In the FILE column of the Error List in visual studio, there is no any file, but the following message appears: "Device Connectivity Component". I have installed Windows Mobile 5.0 SmartPhone SDK and SMDK 1.2. Also, i use ActiveSync 4.1. Is there anybody that can help me Thanks a lot... ...Show All
Visual C++ msoftconf
Hi, I am a relatively new c++ user. I have created a project in Visual C++ Express Ed. and in one of my c++ files, I have #include "msoftcon.h" However, the compiler cannot find the file. I searched my computer for a file with that name but nothing there. Could anyone please tell me how I can get my app to work TIA Hi, Why did you #include this header file Header files are files that provide us interface info on how to call functions and methods. You said that you have created a project. It means that you have "fully" understood those functions and methods. Am I wrong &n ...Show All
.NET Development C++/CLI linked with win32 dll's in C# (msvs2005)
Hi! I'm making a GUI for an engine I'm working on. The engine is separated into two win32 dll's and the GUI is supposed to be written in C#. I've decided to make the interface between C# and the engine using C++/CLI since that seems like the cleanest and best solution. So what I have is the following: EngineA.dll - the two engine dll's in win32 code EngineB.dll - * SVCore.dll - The C++/CLI interface class. Exposes functionality from the engines SceneViewer.exe - The gui Now the problem arises when I'm trying to include a reference to SVCore into the SceneViewer project (etiher a reference to the project or to the target dll). The class com ...Show All
