Felipe Levin's Q&A profile
Visual C# referencing to C classes in C# application
Hi, I need to use the apriori algorithm that is used in the Association rules generation for data mining. The 'APRIORI algorithm Class List' is available on the site: http://www.cs.bme.hu/~bodon/en/apriori/Documentation/html/annotated.html Its code is written in C language and it is available on: http://www.cs.bme.hu/~bodon/en/apriori/Documentation/html/files.html How can I reference these classes and use its functionc in a C# ...Show All
.NET Development Calling a method and getting that method from xml
I am not sure if this is even possible but here goes... I have a program that uses databases. I have made it so if I need to change the type of database I can go in to my Data Access Layer, make the changes and thats it. My only problem is, within the code for the program, there are calls to methods within that DAL whos names could possibly change. Is it possible for me to store the name for that method in XML them call that method. That way, if ...Show All
Visual Basic Hex function and Byte type declaration problem
I have a program that is supposed to format data into 4 hex bytes and sent thru the serial port. The declaration section contains the following: Dim Addr, MsData, LsData, CkSum as Byte Dim Cmd1, Cmd2, Cmd3, Cmd4 as Byte Data is input to the Addr, MsData and LsData bytes and ChkSum is computed as (MsData and LSData are parsed from a single text box input (0 to 4095 range): MsData = Int(InputData / 64) LsData = InputData Mod ...Show All
Software Development for Windows Vista dynamically creating workflows
I have built a custom workflow app that allows you to configure workflows via data stored in a database. The configuration info includes things like what data to collect at each step(questions on a form) and branching I wrote it about 4 years ago in classic ASP and am getting ready to rewrite in .NET/C#. I would really like to be able to do this with the WFF if possible Is this possible to do in the Workflow Foundation thanks Michael ...Show All
Visual Studio Web Project pdb files - VS always want to add to sourcesafe
I had posted about a problem in beta 2 where the output from a web project (dlls and pdbs) always were showing up as a new file to add to source safe in the pending check-ins. Someone replied and said it was a beta 2 bug and would be fixed in the release version. I have since installed the RC and the problem with the dlls has been fixed put the pdbs are still showing up as needing to be added. Is there something I need to ...Show All
Visual Basic Setting walpaper
Hello, i was wondering if there is a easy way to set the walpaper in vb on windows xp and windows 2000 to a bmp or a jpg or well any other type of image supported by windows i know there a lots of resourses about seting the wallpaper to a bmp but if anyone know of away to set it to a jpg i would be very greatful Thanks I'm not sure if this is what you're looking for, but you can change the file format of any picture as follows: img.Sa ...Show All
SQL Server INSERT Not Working via Emulator SmartPhone WM 5.0
It would be great to get some feedback on this, I've wasted nearly the whole day trying to figure it out. I've created a simple test database called test.sdf. It contains a few tables but no data. My plan is to populate the database programatically; however, the INSERT command does not seem to be working correctly. I can see that the data actually gets added to the database when I add it and iterate over it programatically (using SqlCeCommand ...Show All
Visual Basic Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
Windows Forms text box with gradient backcolor
Does anybody know a way to create a text box whose background is painted with LinearGradientBrush. As much as I figured, text box never raises Paint event. I created a button with transparent background (inhereted from Button and style set to SupportsTranspar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spectrum Analyzer for Real time Audio.
I have a directX application which reads real time audio from a sound card (mic) and calculates FFT for it. Frequency of sound per .5 second. I need to create a spectrum Analyzer kind of component. Any way I could do this using DirectX (Direct 3D maybe). I am not looking for 3rd party component. --Yatharth Hi guys, i cant remember the url but if u type 'bass .net' into google, you will get the url there, they offer a free .net wr ...Show All
Visual C# Button with dropdown menu
Hi, How can I build button with dropdown menu like in toolbar (but not in toolbar) Thank's Alexei Hello, The easy way is to shape the button through properties window, and then add an event click for that button. And inside that event show the context menu by calling ContextMenu.Show(position) Method, and in the position give the position at which you want to show the menu, i.e. under the button. Please let me know if it was helpful. ...Show All
SQL Server SQL JOB in Express Edition
Is SQL Agent (for SQL JOBS) available for Express Edition with Adv. Services Is it possible to setup a SQL JOB in Express Edition with Adv. Services There are many small applications, both in-house IT as well as distributed, that depend on the reliable SQL Server Agent Job scheduler. We need the service, SQLSERVERAGENT, to be included with SQL 2005 Express in order to economically migrate applications to 2005. ...Show All
.NET Development Typed DataSet and WriteXml question about Namespace
Ok, I have a typed DataSet that was generated from an xsd schema using xsd.exe. The xsd schema is owned by a standards organization, so I can't modify it. The generated code sets the Namespace property of the DataSet (e.g. http://www.std.org/xml/name-space ). This controls the scope of elements read from an XML file when calling ReadXml and the file is read correctly with appropriate rows populated. Now, if I turn around and call Write ...Show All
Smart Device Development Designed for Windows Mobile Requirements
Not sure if this is the right place to ask. But I need to go over the necessary requirements for the 'Designed for Windows Mobile Logo'. There are some areas I'm not quite sure of. 1) -Required: Provisioning XML File Must include Install CSP XML with NoUninstall Parm I checked my XML file included in the CAB, and I do not have this parm. Do I really needed What does it mean and how can I include it 2) -Require ...Show All
Visual Studio Tools for Office Excel Protection - Stopping selection of locked cells
In Excel, if you choose Tools | Options | Protect Sheet you get the option to stop the user selecting Locked cells. In VSTO I can use the Globals.SheetName.Protect() method, but I can't see any parameter that matches the "Select locked cells" option. This option is ideal for my particular situation as I don't want the sheet protection password protected, but the error message the user gets when trying to edit a protected cell tells the ...Show All
