airwalker2000's Q&A profile
Visual Studio 2008 (Pre-release) Group ToggleButtons
Hi, I am looking forward to group ToggleButtons so as to make their checked status exclusive to each other, just like RadioButtons in group. Could someone please suggest the way out. I tried chaging the control Template but no luck. Thanks, Mahesh Thanks for responding. This seems like working great for me partially. Never Thought of using ListBox. I wanna bind different commands and input, to each of the toggle button in the group. How do I do that. Thanks, Mahesh ...Show All
Visual C++ Calling convention clash, help!
cause i can't call SHGetFolderPathA directly in WIN98, so my program need to link dll dynamically. This is my code: SHFOLDERAPI SHGetFolderPathA(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPSTR pszPath); typedef HRESULT (*MYPROC)(HWND,int,HANDLE,DWORD,LPTSTR); MYPROC g_pfnSHGetFolderPath; HMODULE hModSFolder = LoadLibrary("shfolder.dll"); if ( hModSHFolder != NULL ) { (g_pfnSHGetFolderPath = (MYPROC)GetProcAddress(hModSHFolder,"SHGetFolderPathA")); } else { g_pfnSHGetFolderPath = NULL; AfxMessageBox("can't load shfolder.dll"); return 1; } if((g_pfnSHGetFolderPath)(NULL,CSIDL_PROGRAM_FILES,NULL,SHGFP_TYPE_CURRENT,Buffer)==E_FAIL) { AfxMessageBox("Can't Find Program File folder. ...Show All
Visual Studio Team System Adding identifiers to the FxCop custom dictionary
In running FxCop 1.35 on my assembly, I have several errors returned in which I am using the abbreviations 'BDC' and 'EDD'. These abbreviations are standard within Microsoft Dynamics GP Business Portal. The tool is telling me to add these abbreviations to the FxCop custom dictionary. My question is, how is this normally done I have looked around and found tips for submitting new rules. Is this same process used for dictionary additions Do I log a bug Is there a dictionary guardian who will ask me three questions to determine my worthiness Any help would be appreciated. Thanks in advance. _________________________ Jay Winkis - SDE2 - Microsoft Dynamics GP Business Portal Hi, the dic ...Show All
Visual Studio Team System VSTS and Visual Sourcesafe
Hi. Where can I download an evaluation version of VSS Does VSTS includes Sourcesafe Javier Hi Kylan! To answer your question, VSTS does not come with sourcesafe. VSTS has some great features which depend upon Visual Studio Team Foundation Server. (Work item tracking, Source Control, Sharepoint portal integration(WSS 2.0 currently) and SQL Reporting services) Here is a link to the trial: http://www.microsoft.com/downloads/details.aspx familyid=D5C12289-F4E4-49A9-9235-AB2F6D4CA097&displaylang=en The installation guide: http://www.microsoft.com/downloads/details.aspx familyid=E54BF6FF-026B-43A4-ADE4-A690388F310E&displaylang=en You may not want the features of VSTF and VSS may ...Show All
Windows Forms How to pass reference of control to a property?
I have a customer control and a datagridview control in one of my windows form. What do I want is to and a property in my customer control and refer to the datagridview, just like refer a contextmenu to a datagridview. then in my customer control I want to access that datagridview. my code is like below, but it doesn't work: <code> class windowform Me .UsCtrl.uDataGridView = Me .myDataGridView end class class UsCtrl private v_rdv as windows.Forms.DataGridView Public Property uDataGridView () As windows.Forms.DataGridView Get Return v_rdv End Get Set ( ByVal value As windows.Forms.DataGridView ) v_rdv= value End Set End Property </code> Please help me ...Show All
SQL Server Multiple relationships between one fact and one dimension
Hi, One of my old 2000 cube got converted so poorly that I rebuilt it from scratch. This cube has a fact table with 3 different version of an integer representing a week. In the new dataview, I linked the 3 weeks columns to one week column on a calendar dimension. Then I build a week shared dimension. It looks like it works, I have 1 shared dimension and in the cube dimension usage i have 3 dimensions based on that shared dim, each is using another column for the join. Sounds too god to be true. Where can I find more information on complex or exotic relationship I have to forget my old relational conception of relationship and joins, actually these may not be joins, this may be the bigest thing to forget. Thanks, Philippe ...Show All
Windows Forms Textbox as Label
Which Properties do I have to set how, to use a TextBox as Label I want to just display data, the user must not change it. When I use a TextBox and .Enabled = false. The appearance will change and the Field aren't that readalbe because to forecolor and the backcolor change to a very similar color. If i use "ReadOnly" = true, the user may focus the TextBox - but i don't want to and CanFocus is just a getter If i use a Label instead of Textbox, the border-color is different to the TextBox. So I want I TextBox, not focusable, with Black Fore-Color (ControlText) and Gray Background. I didn't find a solution for this. Plz Help! Hello All. tkrasinger: Have you tried setting ...Show All
SQL Server Distributed Transactions. It doesn't RollBack
Hello everyone, I'm using MSDTC on a package, it transforms data from an excel file to a SQL SERVER 2005 DB on a Foreach Container. Sometimes there might ocurr some transformation problems like data overflow or invalid caracters. Well i'm aware of this so i would like to perform a Rollback Operation in order to avoid the recording data on the db. But it doesn't, even though i'm using this transaction. The worst part comes when recording on a master table (master transformation task) and a detail task stops the package, So no record rolls back. Is there any consideration i'm not taking care of By the way, every task is using Transaction = Supported except of the Foreach Container so the It can read excel files independently of the others e ...Show All
SQL Server distributed transaction error from CLR Trigger
I have a stored procedure in SQL2005 that queries and updates a linked oracle server. The sp runs fine from Management Studio, but when called by a CLR trigger I get the following error message: Command attempted: if @@trancount > 0 rollback tran (Transaction sequence number: 0x000000000000000032DD00000000, Command ID: 1) Error messages: The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE_LINK" was unable to begin a distributed transaction. (Source: MSSQLServer, Error number: 7391) Get help: http://help/7391 The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE_LINK" was u ...Show All
Software Development for Windows Vista Microsoft.DirectX.AudioVideoPlayback.Audio - File LOCK
This is interesting and I really need some help please. While using this namespace to play an mp3 file, one might call this method. audioPlayer = Microsoft.DirectX.AudioVideoPlayback. Audio .FromFile(fileToPlay); You would then just call audioPlayer.Play(); Here's the problem: This object does not support playing a file from a memoryStream, but a physical file. So if your media is in a database for example, you must write the file to the hard drive and then play it. So far so good. However, once that file has played through this object and you direct it to play the "next sound", you CANNOT delete the first one! DirectX seems to keep a handle on the file you created. Thus, in a multi-sound application the temporary files ...Show All
Windows Forms Problem Creating Data Adapter
I'm using VB.Net 2003 and an SQL Database whihc is located on my <local> machine. The problem I'm having is, when I try to drag an SQL Adapter from the toolbox, and go through the steps using the wizard, the wizard only creates the SELECT statement, and then for the INSERT, UPDATE and DELETE commands it says "There were errors configuring the data adapter" I also tried to generate a form using the Form Wizard and was also unable to create the data adapter. Any ideas why I recently switched from an Access database to SQL and never had this problem with Access. I have checked and my tables do all have primary keys defined. Unfortunately the error message isn't very helpful. thanks in advance tattoo ...Show All
Software Development for Windows Vista Compatibility question, yes ran the test but still some questions.
Hello i would really appreciate it if someone could help me on telling if my video card and some other stuff such as processor could run vista. also I plan on buying 2gb of ram. here are my pc stats. RAM at the moment I only have 512 mb of ram. but I hope to buy 2more GB or ram. Motherboard Biostar Geforce 6100-M9 NVIDIA Socket 939 MicroATX Motherboard / Audio / PCI Express / 10/100 Ethernet LAN / USB 2.0 / Serial ATA / RAID here is the link to image and a more detailed report Processor AMD Athlon(tm) 64 Processor 3700+ Graphics Card nVIDIA GeForce 6100 this was a built in graphics card that was built on to the motherboard I mainly need to know if my graphics card and processor will handle it since I will upgrade my ram. ...Show All
Smart Device Development Mobile Internet Framework Error
When I try to install the Mobile Internet Framework on my laptop (XP, SP2), I get the following error: "Setup has detected an incompatible version of the .NET framework. The Mobile Internet Toolkit cannot be installed at this time." I have both the .NET 1.1 and .NET 2.0 frameworks installed on my machine. Is that what's causing the problem Also, is the MIT what one should still use to create mobile applications using WML I noticed that the date on the executable is quite old. I have no experience developing mobile apps but I've been asked to write an ASP.NET application that can be accessed via a BlackBerry and I figured this toolkit could be of use. I know there are third-party apps like AppForge Crossfire and Flowfinity B ...Show All
SQL Server Help - Unusual Problem
First, I can not change the data structure. I have a table called codesubsections that has an identity as the primary key. When a new codesubsection is entered the user can mark a formercodesubsection as a parent. The problem is that I need to be able to evaluate the table and identify the lowest CodeSubsectionID for a given row. so for instant when I look at row 7 it's text is 17 B p2 but because the CodeSubSectionID is not null I need to look at 6 then 5 and since 5 is null I need the text for 5,6,7 all to be 16:1 B. The only solution I have had any kind of luck with is to do a self join 3 times and coalesce the values up. See the code at the end. I am at my wits end, I had it working the other way assuming that the CodeSubSectionID wa ...Show All
Smart Device Development Error when closing threaded modal dialog.
Hi, I am getting ThreadAbortException when my ShowDialog completes its work. I have created a thread and called DisplayInformation, which creates form instance and call its ShowDialog (means form displayed as Modal). In the form I have a button by clicking on it, I set the DialogResult to OK. Whenever I press that button the thread terminated abnbormally with following exception. This behavior is for CF2.0 and PocketPC 2003 SE emulator. Sometimes it work on Device. ERROR: ThreadAbortException at Microsoft.AGL.Forms.WL.SetVis() at System.Windows.Forms.Control.set_Visible() at System.Windows.Forms.Form.ShowDialog() at UtilitiesThreadedDialog.DisplayInformation() at Utilities.ShowInfo() at WorkItem.doWork() at System.Threading. ...Show All
