mc100ftj's Q&A profile
.NET Development Accessing Cryptographic Tokens
Hello! I am not sure in which forum this question fits best, so I post it in the General section. I don't mind if you move it to another place where it fits better. I need to access Cryptograhpic Tokens that contains Certificates like USB sticks or SmartCards (I need "only" read access). It looks like there are (at least) two ways to do this: - PKCS#11 (also known as cryptoki) - CAPI (Cryptographic API) I can't find informations or examples ...Show All
SQL Server Calculated Members slow to display in Excel PivotTable
Hi, I have created an Analysis Services 2005 cube, and am viewing it using an Excel PivotTable. When using Excel 2003, normal members display instantly, but when I place a calculated member in the PivotTable's data area it sits for several minutes before displaying. The calculated member (Gross Margin Percentage) was created with the expression: [Measures].[Gross Margin]/[Measures].[Net Sale] Net Sale is a data field from the Data Sourc ...Show All
Windows Forms bug in datagridview Visual Studio 2005 release candidate
I have datagridview which is associated to a typed dataset. The dataset contains three tables a, b and c. The datagridview has table a as its datasource. There are two dropdowncolumns x and y in the datagridview. X has a column in table b as its datasource and y a column in table c. The dropdowncolumn x associated to table b is OK. It fills in the correct values in the dropdown, and everything works fine, saving and ...Show All
Visual C# Problem with my own DLL
I want to import my own class library (dll) but i get the same error message what ever i do. "Unable to find an entry point named 'InfoStart' in DLL 'ProcessWindow.dll'." And my code is looking like this. [ DllImport ( "ProcessWindow.dll" )] public static extern void InfoStart(); private void MainFormLoad( object sender, System. EventArgs e) { InfoStart(); } ...Show All
Windows Forms Is "simple data binding" one-way by default?
If I bind a TextBox to an array myList using "simple data binding" textBox.DataBindings.Add( "Text" , myList , "MyProperty" ) ; If I change the string in the text box at run-time, the underlying data in the array is changed (what I expect). If however I change the string in the underlying data (programatically at run-time), the textbox still displays the original value (not what I expect) Is "simple data binding" one-way by d ...Show All
Visual Studio 2008 (Pre-release) SLOW motion when animating 56 and more ellipses...
in my WPF prog i create 56 ellipses [no full opacity, each on its own canvas] on the fly [out of the resources of a grid] add a storyboard to each ellipse, add the storyboard then to a main storyboard and place them into a 8 x 7 Grid which occupies the whole window size [the window has a linear gradient as a background]. When i then kick off my storyboard the animations come to life BUT the whole thing lags as hell! No, don't have ...Show All
.NET Development Sockets and Serialization
Hi, I'm building a windows forms app that needs to connect to a server farm via the internet. Performance is of the essence. I'm thinking to use .NET remoting but I prefer sockets to avoid the complexity of remoting; the data I need to pass are small in size anyway. For larger data I'll use Web services. I know that sockets connection can pass array of bytes and not objects. Can I pass a serialized object from socket to socket There' ...Show All
Visual Studio Express Editions Problem: Reading ini-File
Hi, I've a problem reading an ini-File. I use the Function 'GetPrivateProfileStringA() which seems to work perfectly. The problems started when I declared my variables like this: Dim s As String = "" Dim n As Integer n = GetPrivateProfileStringA(Section, Key, "doesntexist", s, 255, IniPath()) The variable 's' that should contain the string was empty. After hours of fighting against the code, I tried something like this: ...Show All
.NET Development Problem with XmlSignature using WSE 2.0 SP3
Disregard this message. Testing alerts delivery. Couldn't find a better place to do that. Sorry... ...Show All
Microsoft ISV Community Center Forums VBA eBook
Apparently, there was a free eBook on VBA available a short while ago. Can someone point me where to download it Thanks, Antonio http://msdn.microsoft.com/archive/default.asp url=/archive/en-us/office97/html/web/FULLTOC.asp It's for Office 97 but still worthwhile reading if your using a newer version. ...Show All
Visual Studio Express Editions Need a faster ArrayList save to text file
Hi I have used a variety of file write routines to try to find a quick way of saving an ArrayList of 240,000 strings. The best I have managed so far takes an awful long time, 20 minutes and hadn't finished when I stopped it. In all my attempts, I have to split off each word from the ArrayList and File.Append it to the file. I can see that is not an efficient way of doing it, but I can't find an alternative method. What is the best/fa ...Show All
Visual C# Custom Control with an Image File - Error at design time
I am developing a custom control which includes an image (actually, it will eventually have many images). I am not embedding the resource but simply have the project set to copy the file into the build directory. This is working fine at runtime, however it doesn't work at design time. I get the following error: The control Gauge.Gauge has thrown an unhandled exception in the designer and has been disabled. Exception: A generic error occure ...Show All
Visual Studio Team System HOWTO: Receive alert when a new bug is added to worklists
Greetings, We have referenced the Foundation Server web service in our application so our testing users can submit a bug directly into our worklist during their evaluation. It's cool. 1. How do I get alerted when a new bug is added 2. It appears the web service API does not permit assigning a new work item to anyone. Am I missing something Is there a way to pass in who it should be assigned to Thank you in advance. Question #1 is mos ...Show All
.NET Development furious developer -- can't compile hello world using SDK on windows x64...
This quote from here (http://devforums.amd.com/index.php showtopic=294&st=0&p=781&#entry781) summaries my frustration: "I'm starting to think that MS doesn't want developers to code for 64-bit version of windows on a 64-bit window. They would rather you program on a 32-bit version of windows targetting 64-bit window. WTF Why release a version of window in 64-bit when you can't freakin' develop a native 64-bit program on it Does ...Show All
Visual C++ Odd HWND Behavior
Hi, I'm using MS Vis Studio .NET 2003 and I am experiencing some odd behavior with HWND pointers. I have the following code in my application HWND hWnd; hWnd = CreateWindow(nom_app, "Reco Fr", WS_DLGFRAME, CW_USEDEFAULT, CW_USEDEFAULT, 200, 200, NULL, NULL, inst, NULL ); Sometimes CreateWindow will return a good HWND, however other times it will return something like this: hWnd {HWND__} { unused=<undefine ...Show All
