PabloWablo's Q&A profile
.NET Development Problems with Platform Sdk
hi to all I am having problems with the Platform Sdk . I am having a Pentium D processor and Windows XP 64 bit version installed on that . I am trying to port one of my C appication from 32 to 64 bit . I am using the compiler cl.exe which is in the path C:\Program Files\Microsoft Platform SDK\Bin\win64\x86\AMD64\cl.exe and the linker of the same path C:\Program Files\Microsoft Platform SDK\Bin\win64\x86\AMD64\link.exe . When I watched them with dependency viewer they are 32 bit compilers . Which compiler should I use to get the 64 bit exe . The lib files that I am linking to are having the path C:\Program Files\Microsoft Platform SDK\Lib\AMD64. I am stuck in this for a long time can some one give his expert opinion Hi, It sou ...Show All
Visual Studio Express Editions Can some one tell me how to find the default icon please.
Hello. Can some one tell tell me how to show the default icon in a ListView box please Av only bean learning programming about 3 or 4 weeks now, and am stuck on the this. Am making a cleaning program, the files and the path show in the Listview box, but I want the default icon to show as well. Your help will be very much apresiated. Hears wishing every one a merry Christmas and a happy new Year, and may 2007 be a good year for you all. Thank you Being honest NoBugz am not sure, but it looks like the string to extract the associated icon and draw it in the listview box ...Show All
SQL Server Getting a file name from Query Analyzer
Hi all, im trying to write a stored procedure that will basically browse a folder and get me the first file that it sees. Is there any way that I can do this in TSQL or using CLR in C# I was thinking something along the lines of using the dos dir command and triyng to pipe it into a variable, not sure how to go about doing this. Any suggestions dir /b ...gives me the bare file names, but it lists all the files in the folder, any way that i can just get the first file ( i dont really care what file). create table #filelist ( files varchar(500) ) truncate table #filelist insert #filelist EXEC xp_cmdshell 'dir c:*.* /b' select top 1 * from #filelist ...Show All
.NET Development Thread Memory consumption
It seems that starting a managed Thread in .net 2.0 allocates 1MB of memory. I created a quick and dirty sample to reproduce this behaviour, it creates 100 threads and each thread sleeps for 10 seconds. Memory usage (while all threads are live), 100MB when compiled with the c++/cli or c# .net 2.0 compiler. Same code ported and compiled with VS.NET 2003 allocates just 3 MB. It has to be that I'm doing something wrong, can anybody put some light on this Srdjan // -------------100MB, cli/c++ .net 2.0 using namespace System; using namespace System::Threading; using namespace System::Diagnostics; ref class Work { public: static void DoWork() { ...Show All
Visual Studio Tools for Office 5 Outlook questions (CommandBarPopup, StatusBar, TrayIcon & updating items)
Hi all! I am having troubles coding some stuff on my outlook plugin. I'm using a shared office plugin on VS but i think this is the right section to put the post 1st In outlook toolbar you can see a CommandBarPopup that has a icon. How can i set a icon on a CommandBarPopup I tried adding a button with the popup caption before the popup and loose the popup caption but when the popup is clicked the area bellow the button i created is not filled so im not satisfied with the solution. Is there any way to fix this Can i use begingroup to acheive this 2nd Can i place a icon on outlook status bar How 3rd How should i proceed if i wish to add a windows tray icon everytime my plugin is started 4th How do you update outlook items. I mean if you ...Show All
.NET Development Find/Select Methods in vb.net
Hi, I already know how to use this methods. What I don't know is if using them, will change the position on the DataSet In other words, after the Fill method is applyed, if the Find/Select methods are used, what happens to the DataSet position How can I determine the position on the DataSet Lets say that I found one particular row on the DataSet that matches my conditions (sql expression - key) and want to make this row "the current" (to move the "pointer" to that position). I only fill the DataSet at the beginning, must I do it again I'm using the DataSet/TableAdapter/BindingSource in VB 2005 Express. Please Help. Regards, Pedro Hi, To add to what kdradl ...Show All
Visual Studio Team System analog clock
How can I draw an analog clock in a panel box ...Show All
Windows Forms Overriding an 'invisible' property
UserControl has a property called Text which is hidden from the user at design time. How do I override Text such that the user can 'see' it If I may ask a related question... How do you control the initial value of the Text property once it is made visible By default, it is set to the name of the control. I would like it to be initially set to nothing, such as what happens with the TextBox. I appreciate your help. ...Show All
SQL Server How to launch a SSIS package from VB or whatever
Dear all, I am looking for any snippet of code where you can launch a SSIS package by DMO or VB 6.0. I read that it was posible to call dts.runtime assembly from VB 6.0 but at first it might be converted or something like that. Issue comes from the moment that we’ve got an ASP 3.0 scheduler for hundreds of dts and now we have to migrate them to sql25k. Thanks in advance for any info regarding this, On Books online at http://msdn2.microsoft.com/en-us/library/aa337077.aspx there's an extensive coverage on how to run SSIS packages remotely. You may need to be a bit seasoned developer to go through it and run it though, as the documentation is not a step-by-step instruction. Rgds, ...Show All
Visual Studio Team System Project/Solution Hierarchy
I am in the process of migrating our code from VS6 to VS2005 with Source Control going from VSS to TFS. We are building separate DLLs that form our overall products, but I regard each DLL as a separate product. This means that we have lots of shared source files in the existing projects, where the sharing is handled by VSS. Moving to TFS means that Sharing is no longer an option - so I want to just copy all of the shared source files to a single location and re-link the solutions to those as I port them from VS6. Unfortunately, my directory hierarchy isn't allowing me to do this. For example, our solution for Socket communications component is at: Claricom/Transport Layer/CLSocket but the Common Files folder is at: Claric ...Show All
.NET Development Netstat on remote machine
i need to take some info from a remote machine. i count some processes using WMI. Bur i could not find the take netstat info from an remote machine... thnx. Hi Susantez: I don't know the answer but wonder if you have a link that describes getting and modifying IP information from a remote system Can this be done in C# Can't find anything in the namespace that does remote systems. Thanks! ...Show All
Windows Live Developer Forums Windows Media Player Powertoy
Windows Media Player - Powertoy Module The Media Player Power Toy is designed to allow you to play audio and video files within your Space. While editing your Space specify the URL of a Media file located on the web in the Media Power Toy and hit Save. This will allow the people viewing your Space to watch or listen to the media file you have linked. You can customize the experience even more by altering the player settings (like auto start, times to play, and player mode) while editing your Space. This feature is to be used for authorized content only. Please respect the creative efforts and intellectual property of others, and do not link to unauthorized materials. Linking to unauthorized materia ...Show All
SQL Server uniqie identifier
Hi I have an salesorders table and products table. products table (PK) is productid , it is uniqueIdentifier I added a field to salesorders table to keep the productid and I made INT so, now I go to vb.net, data connections, diagrams when I try and relate this two field (salesorders.productid with products.productid) I get an error and it says, data type, size doesn't match. Could you please help me with this issue. thanks hi, the data type of the referenced column and referencing column must be the same.. so you have to change salesorders.productid to uniqueidentifier of products.productid to int.. just a side note.. please remember that the "full" name of every o ...Show All
Visual C++ Menu Bars and Dialog Boxes
Hi, I am trying to add a menu bar on a dialog box but my attempts seem to fail miserably... I can't see an option in the toolbox for a menu so i thought that i could create the menu and then add it to the dialog box... Is this plausible If so what's the procedure to do so Otherwise does anyone know how to go about creating and adding a menu bar to a dialog box Thanks --Anger No, I don't believe so. I've been editing the file both before and after the attempt. EDIT: I figured out what was wrong, It was something simple that I over looked. ...Show All
Windows Forms DataGridView Sorting Numerical Strings
Hi, Have tried to sort the columns containing numerical strings in a DataGridView, seems to misplace the very first or very last row off by one index. For example in an ascent sort, the first row is the second smallest and the second row contains the smallest number. When, the rest of the numbers seem to be sorted properly. It seems as I need to set the colum sorting option to the programatical mode, and use a sorting algorithm to do this externally. Any suggestions, or any more straight forward way to do this Best Regards, Reza Bemanian right click on the grid,. if the column is autogenerated, then add a column and set the propertyname property to the name as the field in the database. if the colu ...Show All
