webmonsta's Q&A profile
Visual Basic XOR encryption in Hex
Hi, I have got the following code where I can encrypt a string and after re encrypt it to decryptit (reverse it). The problem i have is that instead of getting ASCII characters as a result (Hd[[H*^7f...) I need a result in Hex (02A414B6FF...) Dim i, a As Integer For i = 1 To Len(text) a = i Mod Len(key) If a = 0 Then a = Len(key) Transform = Transform & Chr(Asc(Mid(key, a, 1)) Xor Asc(Mid(text, i, 1))) ...Show All
Windows Forms Windows Forms, Avalon (XAML) and the future
Hi, Does anyone know if XAML will ever find its way in to Windows forms What I'm trying to establish is whether sometime in the future (before Longhorn though), XAML will be used to define a more traditional Windows forms app. Something like the MyXaml open source project. Regards Graham MyXaml is the only one that works with any object model, including windows forms. This is because it is generic. It only took t ...Show All
Smart Device Development [C# & C++][POOM wrapper exemple] Does someone use this sample correctly
Hi, I download the Microsoft POOM wrapper exemple but i can't make it run. I get the famous "missingMethodeExcepetion". I look at the C++ dll of the exemple and all entry points are ok (good names) No compilation errors no link error no warning. But when i run my app i get this excepetion. So is anybody have a working wrapper Here is the sample : http://www.opennetcf.org/samples/POOM.zip Thanks for the rep ...Show All
.NET Development Why do all examples assume you're binding data to a control?
I'm starting to get frustrated now. Every example I come across shows you how to open a connection to a database, fill a dataset, but not how top programatically get at the data... Every example assumes you are going to bind the data to a control and update using a GUI. How do you get at the data within a DataSet once you've Fill()ed it Not from a form, but from with the application. This frustration is also heading towards disappoinment. The ex ...Show All
Visual Studio Express Editions ReSize custom control
CAn you let me know your thoughts on ReSize custom control programs that are avalibe. I want to use one but which is best and cheapest etc. ...Show All
Visual Studio Express Editions VB 2005 Beta 2 Indepenent of .NET
Is there any way to compile a program (in VB2005 Beta2) and make it run independently of .NET Framework ...Show All
Windows Forms DirectX with c#
How can i make dx9 play mp3 files... thanks in advance. Bruno. Yes it is possible Bruno. I have written a lot of code using Directx9.0 in vb.net. For mp3's instead of using direct sound you actually have to use direct audio and&nbs ...Show All
SQL Server Database Mirroring
Hello, I'm having some troubles to set up database mirroring on Itanium II based servers. I have 3 servers registered in the same domain (windows authentication) I have created manually the endpoint and there are all 3 started (port 5022) When I do the alter database set partner on the mirror site it works. When I do it on the principal instance, I have the following error: Msg 1418 the server instance "TCP:itanium8.sql.net:5022" is not running ...Show All
Windows Forms Bug 1.0???
Ok it appears I have a bug. Here is the simple example. New form drag drop tool bar dock top drag drop grid control dock fill drag drop context menu now click on the grid get focus out of context menu. Now go back to context menu (no highlight ...Show All
Visual C++ Migrating an existing MFC application
I'm investigating different solutions available to migrate our existing MFC application to .Net. At this point I find out that the best way to keep the application working during the migration is using MFC 8.0. I think we should first compile our UI (MFC exe) in Visual Studio 2005, then add /clr and then use .NET class libraries and its user controls to implement new features of our application. The question I have is about the u ...Show All
Software Development for Windows Vista Enabling aero glass?
Is there something in particular that has to be done to enable this I've installed Avalon and the other pieces with it, updated my gfx driver the the latest version from nvidia, but I'm still getting the plain aero, and I don't see anywhere to enable aero glass. My system is far above the requirements needed for it: Athlon64x2 4400, GF7800GTX, 2GB RAM... Hi, See section "Enabling Aero Glass" in the article bel ...Show All
Windows Forms Format a DataGrid row based on value of column
Hi all, I have a datagrid displaying trivial information, however, I need to color the row of the DataGrid dependant on the value of one column. I've figured out how to change the color of the column, but not the whole row. Any help appreicate ...Show All
Visual C# New C# Features in Beta 2?
Is there any new feature or functionality added to C# on VS 2005 Beta 2 If yes what are they Refer the following URL for C# 2.0 new features, http://msdn2.microsoft.com/library/7cz8t42e.aspx ...Show All
Visual C++ Problem: fatal error C1083 by compiling a sourcecode
I have written a sourcecode according to an exercise in the book "Jetzt lerne ich C++" from Jesse Liberty. As I wanted to compile it with the downloaded Visual C++ Compiler, only the error: C:\Hello.cpp(1) : fatal error C1083: Cannot open include file: "iostream.h": No such file or directory appeared. The new header name is now just <iostream> without the .h. Take a look at this post thread that deals ...Show All
Visual Studio VS2005 Team Ed for Architects
I'm trying to understand the differences between the Team versions. First: Do the "team" editions need the Team Server I want to explore the Architect tools, but I do not have the Team server installed. Second: Does the Team Ed for Architects have all of the Developer tools in it If not, how can I get them both TIA!! No, you do not need Team Server to install Team Suite, Team Architect, Team ...Show All
