brajeshkumar69's Q&A profile
Software Development for Windows Vista Vista 'Sleep' Issue
Hi All, I am facing a issue with 'Sleep' mechanism in Vista. I am doing certain asynchronous I/O operation on my device when I receive 'PBT_APMRESUMESUSPEND' through 'WM_POWERBROADCAST' message. 'PBT_APMRESUMESUSPEND' is the message we get from Window's when it comes out of sleep mode. But while doing so I receive 'ERROR_IO_PENDING' error. Are anyone facing similar problems I did not face any such issues on Windows XP and 2000. I have read that in Vista 'Sleep' is replaced with 'Hybrid Sleep'. Does that make any difference Regards, Anmol How DO I download this hotfix Any suggestions I do not see a download option on that page. Thanks. ...Show All
SharePoint Products and Technologies How do you prevent users from creating personal sites?
I have created 7 sites, one for each department and I will be setting up permissions for certain staff to manage them. What I would like to prevent is everyone clicking up in the right-hand corner on 'MySite' and creating their own personal site. Is there a way to either keep this from happening or hiding the tabs from view I am unsure where to do this. Do I go to Central Admininstration, Application Management, Applications Security Or, do I set up security from the site collection, site directory I set up an individual user as a test and put him in a group with read only priviledges and he was still able to create his own site. ...Show All
Visual Studio UML Reverse Engineering C++ With Visio 2007 / Visual Studio 2005
Hi, I have had a looked around the forums, but alas I am still none the wiser! I am running VS 2005 Professional and Visio 2007 Professional - and every time I try to reverse engineer a C++ project it will only open Visio with a blank document. Any suggestions/advice would be greatly appreciated. :) [Please Note: I have already tried repairing both installs :( ] Hi, Visio does not automatically lay out the reverse engineered classes on the design surface. The reverse engineered classes are populated in the "Model Explorer". You'll have to drag and drop the classes from the Model Explorer to the design surface to view the classes. The Visual Studio Team System Archit ...Show All
Visual C++ Error LNK2019, linking error - please help
I am currently writing a programme in C which is going to convert roman numerals to arabic numbers, now I don't need help actually writing the programme(I dont think. Though if you see anything obvious let me know!) But I get this error whenever I try and build the solution, I really have no idea why! If anyone can help I'd really appreciate it. 1>------ Build started: Project: roman numeral conversion, Configuration: Debug Win32 ------ 1>Linking... 1>converter.obj : error LNK2019: unresolved external symbol "int __cdecl romanArabic(int,int)" ( romanArabic@@YAHHH@Z) referenced in function _main 1>C:\Documents and Settings\Xin\My Documents\Visual Studio 2005\Projects\roman numeral conversion\Debug\roman num ...Show All
Visual Studio Express Editions I receive no executable file when dl'ing Visual C++ Express
Hello, 1st to Preface, I'm at work so some of the Acronyms might be slightly off, just have faith that I installed the right thing, cause I did :) Anyway, I installed Visuall C++ Express according to the directions using "Download now" and then installed the SDK (sp ) as well, just the little 1.2 mb file. However, no matter what I do, i cannot open C++ Express, because it doesn't seem to have downloaded the executable file for it... I have un-installed and re-installed 3 times with no success.... please help!!! also, the part where it says to add the "//" marks before those =true lines, i did that, And I also manually changed the lines in the "whateverfile" adding the /bin /lib/ and (that ...Show All
SQL Server SQL statement troubles finding maximums.
Hello everyone! Here's the deal. I have a table that contains data for contracts each time they are brought to our attention for a review. The first column in the table contains the contract number, the second column contains which review number the data is associated with (the first time it was reviewed, the second time, third, etc.). I need to make a subtable that contains the records from the last review of each contract. The problem is that, of course, each contract can and will have different numbers of reviews than most other contracts. I know how to use the max funtion to return the largest review number of the table, but this doesn't help because not all contracts have that many reviews. Is there any way I can accomplish this us ...Show All
Windows Forms question of DoubleClick on ListView in C#,need help!!!
Hi, does anyone know to write the C# codes on how to create a double click event for ListView to delete/remove the item that i select from ListView control If you are using the Visual Studio Compiler, go to List View properties on the right hand side and there is a double click property. From there you can have that. Also try clicking on your ListView Control twice and it should do that for you in the Code. Manually, it should go in the designer code as well as C# code file.Should look something like this on both places. // In the Designer this .listView2.DoubleClick += new System. EventHandler ( this .listView2_DoubleClick); // In the CS Code file private void listView2_DoubleClick( object sender, System. E ...Show All
Visual C++ Creating a text box in a dialog and processing it using the message loop
How do make a text box in a dialog I need it so that i can set a text box to a string, and as the user edits the numbers of this box, any other numbers of the same type become that value, e.g. 12234356 If i change either 2 to a Q then it would instantly become: 1QQ34356 How do i initially make a text box in a dialog And how am i going to pass a text changed message to the message loop within a dialog After this i can simply compare it to the original string and change the other values, that bit isn't too hard. Thanks a lot, Chris. crazy_kebab wrote: Sorry, i am programming in C++ using the native Win32 API. This forum covers the C++ language and standard extensions, not the win32 api, nor any ...Show All
Visual Studio 2008 (Pre-release) When will the NET 3.0 final version be available?
Sorry if this something that it's answered somewhere else, but I didn't find it. I've been reading everywhere that Vista will include Net 3.0. Then again I read that Microsoft is going RTM with Vista the next days. This means that Net 3.0 must be nearly finished now! If this is the case, when will we be able to download it Thanks in advance for any answers Raul FYI, we're done: http://www.netfx3.com/blogs/news_and_announcements/archive/2006/11/06/.NET-Framework-3.0-has-been-released_2100_.aspx Enjoy. ...Show All
SQL Server Query Help
DECLARE @Test TABLE ([Year] SMALLINT, [Account#] SMALLINT, Balance SMALLMONEY, [Month] TINYINT) INSERT @Test 2006 6010 -10 1 UNION ALL 2006 6010 -20 2 UNION ALL 2006 6010 -30 4 UNION ALL 2006 6010 -40 6 UNION ALL 2006 6011 10 1 UNION ALL 2006 6011 20 3 -- Do the work SELECT t1.[Year], t1.[Month], t1.[Account#], t1.Balance, (SELECT SUM(t2.Balance) FROM @Test t2 WHERE t2.[Year] = t1 .[Year] AND t2.[Account#] = t1.[Account#] AND t2.[Month] <= t1.[Month]) RunningTotal FROM @Test t1 This query works fine but the problem is if i have account with missing month then i want a add row and add display the previous month balance. Ex: 2006 6010 -10 1 2006 6010 -20 2 2006 6010 -30 4 2006 6010 -40 6 2006 6011 10 1 2006 6011 20 3 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graph shader?
I am trying to draw the FPS in a graph. For that I want to pass the shader effect a 1D texture, but it isnt very simple. I understand I need to use a sampler Does the steps of passing and using a 1D texture (or sampler) similar to those of passing and using a 2D texture Or do I need to do it differently For a 2D texture I have the SetTexture method for an effect, but I dont have the equivalent for a sampler or some sort of a 1D Texture which I dont know about. How do I achieve this Thank you. Sorry for the misunderstanding. I've done some tests and I'm afraid I can not confirm what you're saying: I've got no problem creating a texture of 1 pixel height. Have you read something about it or ...Show All
Windows Forms Force to show scroll bars on a ScrollableControl
Hello. If I draw a shape (say rectangle) outside the client area of the ScrollableControl, how can I force the latter to show scroll bars so the user could view the drawn shape Thank you beforehand, Mikhail. If you set the AutoScroll property to true and set the AutoScrollMinSize property to the size of the area the client area views, you should automatically get scrollbars. If you're performing all the drawing manually, you'll have to process the Scroll event and shift your origin appropriately when drawing. To manually override which scroll bars are visible, set the VScroll and HScroll properties. ...Show All
Visual C# WTS_CONNECTSTATE_CLASS detailed
Sorry for the specific topic, but can anyone help me to figure out the states of Windows Terminal Server Session Actually, I can use WTSQuerySessionInformation function to find out, what happens with session at the moment. The intresting thing is about the state of connection. Here what I found in MSDN: WTSActive means "A user is logged on to the WinStation." OK, this is understood. WTSConnected means "The WinStation is connected to the client." Erm, not sure, when it happens When user is WTSActive, he IS connected anyway, you now. WTSConnectQuery means "The WinStation is in the process of connecting to the client." And when this happens WTSShadow means "The WinStation is shadowing anoth ...Show All
Windows Search Technologies WDS 3.0 Beta2 / WDS 2.6.5 and PDF files / Adobe Reader 7.0
I see that PDF is not currently supported (unchecked filetype in Advanced; and this PostID: 615984 ) in WDS 3.0 beta2, but I have had problems with 2.6.5 and one or other of the Adobe iFilters. I'm not sure which iFilter version is currently installed. I have Reader 7.0.7 installed now. Can anyone report iFilter which is most suitable for WDS 2.6.5 I had frequent crashes of an already-running instance of Adobe Reader 7.0 when WDS 2.6.5 was previewing a PDF file, and I then right-clicked that filename in the top pane to open it with Adobe Reader. And less frequently, WDS itself closed when a PDF was being previewed. And a minor but annoying feature: when a PDF preview occurs, focus changes to the preview pane rather than stay ...Show All
Visual C++ there is a _CrtDbgReport Error when changing the Character Set
i get a new application without using Unicode Character Set, and later, i chang the Character Set from Use Multi-Byte Character Set to Use Unicode Character Set. build is ok, but when i debug the application, TRACE don't work, and a error arise: _CrtDbgReport: String too long or IO Error. my TRACE is :TRACE(_T("fdsafdsafdsa%s\n"),"ly"); but the string isn't too long . How can I make TRACE work It seems the macro does not support all of characters. You can try this instead: ::OutputDebugString(_T("中文\n")); If it still does not display characters correctly, then I am afraid you will not be able to show your text in Output window of Visual Studio. ...Show All
