Sammy Adems's Q&A profile
Windows Forms Ctrl-C does not work on Textbox Edit control
Hi All, I think this is a bug in VS 6.0. It was fixed, according to Microsoft, but now it appears on VS2005. I am using VC++ and .Net Form. In my forms, I have bunch of Text box edit control. When the application is running, I can high-light and select the text displayed on the edit box, but cannot use Ctrl-C to copy the text to the clip-board. However, if I right click the mouse, and then I can select the Copy from the popup menu to copy the text. Is this a bug Or did I not having the properties of the edit control set properly Can someone shed a light Thanks Several possibilities: - Check if you have assigned the Ctrl+C shortcut key to any of your menu items. - Ensure that the textboxes' Shor ...Show All
SQL Server Cross tabs with Drill downs
Hi Guys I need to generate a report where I need to have drill downs in a matrix(cross tab query) in Business Intelligence. When I try to build a report using the report wizard, I can either select matrix or Drill downs and subtotals. Can I have both of these options Thanks Mita ...Show All
Commerce Server How to tackle the BackOrder Processing?
Hi guys Can any one give me an link and more abouts the BackOrder Process in Commerce server 2007 thats is how to tackle when the order was back to our system and how the invertory was mainted at the time.... Praba, This one threw me off as well. What is missing from the documentation is that the back order quantity is never decremeneted by the updateinventory component. It is mearly a limit of the maximum amount of a back order per order. I had hope that the functionality would actually allow me to limit the total amount to be pre/backordered across all orders. Alas, this is not the case. Cheers, Colin ...Show All
SQL Server 70-431 (MCTS SQL)
Hi, Somebody can speak (tips) about exam 70-431 Tips Amount Questions Time here you go taken from Cramsessions website http://www.cramsession.com/certifications/exams/sql-server-2005.asp exam_id=770 E X A M S P E C S Exam Number: 70-431 Active / Retired: Active Prerequisites: Exam Format: Multiple-Choice; Multiple Answer Num Questions: 55 Time Limit: 90 Cost (USD) $: $125 Passing Score: 700 also I found a site that has a voucher number you can use for any Microsoft exam that gives you 20% the exam!! From what I understand, this voucher number never expires!! I've used it several times already!! ...Show All
Visual Basic Referring form objects
Hi all, I'm converting a VB 6 exe project to a VB 2005 project. One main functionality in VB 6 that gives errors in VB 2005 project is as follows: In VB6, i have a initial form called frmApplication that loads up. There are two other forms Form1 and Form2. Based on the user settings, frmApplication then loads either Form1 or Form2. Form1 and Form2 differs only by appearance. What i mean, all the controls in both the forms are same including the name except there position of the control on the respective forms. When frmApplication is loaded, it creates a object of Form1 or Form2 depends on the setting and assigns to frmObject. Now in VB6, i access the controls in Form1 or Form2 in runtime using frmObject.lblName.Caption = ...Show All
Smart Device Development SetTimer not working ..Callback not coming
I am using SetTimer for timer callback functionality. I tried SetTimer(lHnd, TIMER_GENERIC, 4000,NULL); and i listen fro WM_TIMER message in WndProc of my application .. I also tried . SetTimer(lHnd, TIMER_GENERIC, 4000,(TIMERPROC)MyTimerCallback); but neither of them works ..I never get a call back Any help will be appreciated Dear Tony, Yes i have GetMessage/DispatchMessage message pump running . I have been able to fix the issue, now i am using SetTimer(NULL, TIMER_GENERIC, 30000,(TIMERPROC)MyCallback); and it works i get a callback to my function. But i have another issue here... i do SetTimer() and start a timer .. Now on expiry of timer, i need to check current time stamp .so i do GetCurrentFT() TimerCallback( ...Show All
Smart Device Development DataGrid, threading and refreshing displayed data
hello everyone, The main issue is that the datagrid does not receive events, or more exctly events are delayed forever. I have a worker thread that reads data from the network and assigns after processing that data , values to the table in a dataset, the table is the datasource for the datagrid. After assingning the data to the table in the dataset , the datagid does not update by itself so i call Refresh on the datagrid like this, using a delegate: _AFDataGrid.BeginInvoke( new UpdateDisplayDelegate (_AFDataGrid.Refresh)); But then, the datagrid won't receive any events, like dragging the scroll bars, or clicking a cell (this should display a context menu). My guess is that i get to much information from the stream and r ...Show All
Visual Studio 2008 (Pre-release) Returning Files as a Stream
I have a WCF contract that returns a stream. I am normally returning an XML file. This works fine, but whenever I return a 'null' or binary file, the WCF comm seems to get hosed. This is a self-hosted console app. Here is my app.config. <endpoint address="net.tcp://localhost:8002/ProLab/" binding="netTcpBinding" bindingConfiguration="" contract="NCRx.ProLab.Common.IProLabServer" /> The interface is set up as a duplex interface as follows. [ServiceContract(Namespace = " http://NCRx/ProLab/Server ", SessionMode = SessionMode.Required, CallbackContract = typeof(IProLabWorkstation))] interface IProLabServer { /// <summary> /// Notifies the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Here we go!!
http://www.microsoft.com/downloads/details.aspx familyid=21e979e3-b8ae-4ea6-8e65-393ea7684d6c&displaylang=en Not "supported", just "compatible", there's a difference. I doubt they'll support it on anything other than XP. ...Show All
Visual C++ Need help! Not able to get UdpClient BeginReceive work in VC++/Could this be a complier bug!?
Hi, I need an urgent help. I am developing a socket application in VC++ that uses asynchronous connnection. After doing search on google, I found the following link http://msdn2.microsoft.com/en-us/library/system.net.sockets.udpclient ... First of all, thanks for microsoft team for this post. However I have couple questions concerning the C++ code in the link. Before posting my questions, first let me show you how I did set up a VS2005 C++ project to test this code. To create a test project, I do following File->New->Project->(Other Languages)->Visaul C++->CLR->Class Library Fill in solution name and put in the following code. ----------------------------------------------- TestAsynCallback.h ----- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SWM Model Component
Hi all! I just finished a simplified version of a swm loader component based on the classes in SpaceWars. I used X-Tatic's converter to transform the tiny.x model into swm http://astaroth.beatbuggy.net:8080/Downloads/x2swm_1_0_0_1.zip I sent the sources to www.xnaspot.com , hopefuly, they will put it online soon. P.S. the smaple also includes components for a grid, and for FPS (which can be set to be displayed in the titlebar, screen or both) Have Fun! Catalin Zima P.S. I also wait for XNAspot to post my sample of VertexTextureFetch in XNA ;) Hi , could you post alink as it not yet up, would luv to try your code out..... ..Tridex.. ...Show All
Visual Basic Add Installed Program to All Programs List
I have writen a simple VB 2005 windows app and added a setup project to the solution. When the user runs the MSI program to install the program on her/his machine I would like to have an entry added to the list of programs the user sees when clicking All Programs. It is not clear to me how to specify to the setup program that I want the installer to do this. Can someone help me Thanks. Use the File System Editor (View->Editor->File System) to add items to the User’s Program Menu or the User’s Start Menu objects (via right click, Add Special Folder). Once you’ve selected the appropriate destination, you can simply right click on it and add a shortcut to the program or add a folder o ...Show All
Software Development for Windows Vista CreateProcessAsUser in LocalSystem forked process failed
Hi First of all, all of this is using Windows Vista RTM from MSDN. I've a process running as localsystem and I can run another process with CreateProcessAsUser using a token got from another user to show the child process GUI in the session 1 (console session) as I expected. But now I'm forking a child process from the local system service with CreateProcess (so the child process is a local system process too). This child process are using CreateProcessAsUser as before, but it fails with "required operation needs privilege escalation". Why this This forked process is local system too and I not have the privileges There as some clue before call CreateProcess from the forked child process, or maybe in the main service ...Show All
SharePoint Products and Technologies Sharepoint development future? .NET 3.5 and beyond...
We are at the beginning of developing for Sharepoint 2007. It has however occured to me that with .NET 3.5 on the horizon (with Orcas release of Visual Studio) will we be locked into coding .NET 2.0 (and 3.0 with the right wrappers) until Sharepoint is updated What is the roadmap for this as it has implications for our ability to keep pace with current technology if we are tied to the Sharepoint platform for development True,.. but if Sharepoint isn't going to be able to leaverage the gradually evolving .NET platform, then we are currently in a position to switch to building our own portal and making use of Sharepoint via Services. With a 5 year life span on an intranet, it is a consideration, we don' ...Show All
Visual Studio Express Editions Skelton Windows Application in "Win32 Console Application" will not compile
I installed Visual C++ Express 2005 and the Windows SDK i86 and followed the instructions for configuring VC for the windows api, but I get compiler link errors. For a project I did the following: VC: File -> New -> Project Selected "Win32 Console Application" and type in "test2" for a project name. For application settings selected "Windows Application". Nothing else is selected. VC then successfully created some template window application program. With no modifications to the code I pressed F7 to build the project and I got the following errors: 1>------ Build started: Project: test2, Configuration: Debug Win32 ------ 1>Linking... 1>test2.obj : error LNK2019: unresolved extern ...Show All
