Ralph Kester Caparros's Q&A profile
.NET Development System monitoring
Is there any way to stay monitoring changes in registry and network ports usage (like a firewall) using .Net Framework Hi Stephen, Thanks for the answeer. But I have two new questions. First - Are this APIs compatible with all MS Windows versions Second - What do you mean with "port to your favourite programming language for the CLR" Is it just call for APIs in C#,VB.Net or J# application ...Show All
Visual C++ How to make a window moving handle (click and drag the handle to move the window)
I need to make an app with no borders/title bar (got that covered) that has a window moving handle (the form background) that moves the window when you click and drag it. If this puzzles you think of Windows Media Player in Skinned Mode. Can Someone Please Help Me Flame thrower I tried puttin it in, VS gives me lots of syntax bull must not be the same in c++... ...Show All
Visual Studio 2008 (Pre-release) Can Convert VisualBrush to ImageBrush?
Hi all Can I convert a complex VisualBrush to an ImageBrush to speed up animations Thx Thanks Michael, I got a Canvas named "canvas1" with buttons , rectangles ... 500width ,500 Height, and I want a ImageBrush for this canvas I'm trying this: RenderTargetBitmap RenderBmp = new RenderTargetBitmap (500, 500, 120, 96, PixelFormats .Pbgra32); RenderBmp.Render(canvas1 ); // try to assign ImageSource to a Image ... Image1.ImageSource = RenderBmp; // << can`t see the image // Try to assing ImageSource to a ImageBrush.. ImageBrush myBrush = new ImageBrush ...Show All
.NET Development Get Modulus, exponent from certificate /public key
Hello, I want to verfiy digital signature generated with Java API with 'SHA1withRSA'. Now I got Base64Encoded certificate, does anybody can explain how to modulus and exponent I searched web site, there is no doc explain how to parse modulus and exponent from certificate byte array. Certificate certificate = Certificate.CreateFromBase64String( certificateString ); int keyLength = certificate.GetPublicKeyLength(); byte [] publicKey = certificate.GetPublicKey(); byte [] ExponentData = new byte [3]; -----Why byte [] ModulusData = new byte [keyLength/8]; -- ...Show All
Software Development for Windows Vista Interrupt State execution in State Machine workflow
Is there a way for an EventDriven or StateInitialization activity to be interrupted by another event, say, another EventDriven activity in the same state I've got a StateMachine workflow where each state performs some processing, either in a StateInitialization or an EventDriven activity. This processing can take some time and there is a requirement that the user should be able to cancel this processing and jump to another state at any time. I have tried putting the processing steps in a StateInitialization activity and having an EventDriven activity that is listening for the cancellation call from the client. The cancellation event is pick ...Show All
SQL Server intermittent failures using web synchronisation
HI We are using HTTPS anonymous merge subscriptions.... Sometimes when trying to synchonise, we will get the following error messages returned to the subscriber.... The upload message to be sent to Publisher '**thewebserver**' is being generated The merge process is using Exchange ID '0F65CFCB-AF17-47DC-8D98-493A44C243E0' for this web synchronization session. The Merge Agent could not connect to the URL 'https://**thewebserver**/client/replisapi.dll' during Web synchronization. Please verify that the URL, Internet login credentials and proxy server settings are correct and that the Web server is reachable. The Merge Agent could not ...Show All
Windows Forms CallBack in GridView
Hello: I am in the process of extending GridView and adding some functionalities. For example, I added a single row click to postback and handle the event. I would like now to be able to do a CallBack instead of PostBack. Do you know if there is a whitepaper on how that CallBack functionality is added to the Grid currently through sorting and paging I believe it is better to follow the same technique used. I have been trying for some time, im getting all the needed methods and functions, and I have added for example: Grid1.EditIndex = e.GridViewRow.RowIndex; inside the handler of the sinlge click which is being fired upon a ...Show All
Visual Studio Team System Changing the logged in user
Hi, I am using team foundation server for workgoups. The server is windows 2003 in a workgroup, we are not using active directories. The initial login to TFS was with the admin account to set up the users. I added all the users but cannot get a login screen. TFS always logs me in as admin. If I change the admin password on the server it gave me a login screen, but when I reset the admin password back to the original, TFS stopped asking for username/password and started logining me in as admin again. Is there any way to get the login screen to reappear short of changing my server admin password Thanks Rebecca ...Show All
Visual C# Dynamically moving controls
I have six panels, each panel contains a textbox and its label. Each panel has a checkbox associated with it on the form, but outside of its respective panel. I only want the panels whos checkboxes are checked to be visible. If another checkbox is checked, I want that respective panel to be displayed directly under the last panel displayed. Once that checkbox is unchecked, I want the panel to disapear, and all the other panels that come after, to move up. I am going crazy trying to get the code right, and I thought maybe someone has already done this as could give me an idea on how to get all these panels to apear and dissapear, and repositi ...Show All
SQL Server The connection manager 'OLEDB' is not properly installed on this computer
Please help someone from MSFT! I've just finished installing the Sep CTP on my laptop. I previously had the April CTP and June CTP. I followed the instructions for removing a previous installation of SQL 2005. Now, when I try to create an SSIS package, I get a message that says: TITLE: Microsoft Visual Studio ------------------------------ The new connection manager could not be created. ------------------------------ ADDITIONAL INFORMATION: The connection manager 'OLEDB' is not properly installed on this computer. (Microsoft.DataTransformationServices.Design) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft ...Show All
Visual Studio Express Editions SqlRecord and latest beta 2
I have the the older beta 2 on my laptop (Feb i think) and ive written a console app that use a SqlRecord, it compiles and runs perfectly on my laptop. ive installed the latest beta 2 on my desktop, copied the .cs file to it, and it refuses to compile complaining that doesnt know what SqlRecord is... any clue what ive done wrong here are my error messages.. sv.cs(33,4): error CS0246: The type or namespace name 'SqlRecord' could not be found (are you missing a using directive or an assembly reference ) sv.cs(33,30): error CS0117: 'System.Data.SqlClient.SqlCommand' does not contain ...Show All
Software Development for Windows Vista When will this come out to non subscribers?
Does anyone know when Vista Beta 1 will "come out" for us non subscribers to try out Thanks Josh Phillips wrote: There have been several avenues to obtain the betas, including attending conferences, MSDN sub, sign up for the beta. Not sure we will ever see a truely public drop, but my guess on when we would see that if it were to happen would be around beta2. Josh http://windowsconnected.com Exactly what I've been saying for the past 3 months whenever someone would tell me "I'll wait for beta 2 since its ...Show All
Windows Forms Need ideas on creating an email To: recipient textbox with underlining
In outlook, when an email or contact exists in the To: recipients text box, it is underlined. Any idea how I can create a similar control It is just a simple textbox which keeps checking a list at every keypress event. When the textbox text matches any item of the list. The textbox font changes and underline.. ...Show All
Visual Studio Express Editions printing form?
Hi all, is there a way in vb express to print all data (there are inputed and calculated in textboxes) from form like a document Spike, you have to Draw the different parts of the Document to the paper. Here's a link to a VB.NET project that prints a DataGrid on paper and fills in the cells. http://www.codeproject.com/vb/net/datagridprinter.asp What this will show you is how to draw to specific locations on the paper ( based on paper size) each portion of your document, including Text and even graphics. The code sample won't do exactly what you want for you. You will have to work that out for y ...Show All
Visual Studio Web App stuck in Debug Mode
Can anyone please help. I have a web app, that I have created in visual studio 2005 and I cannot seem to change the Configuration in the Configuration Manager to Release. It does not give me any other option other than Debug. Help!!!! Response.Redirect( "page.aspx" , false ); works on my side ...Show All
