schlrobe's Q&A profile
Smart Device Development Building a DLL in .NET CF?
Hi there! This may seem a complete newbie question, but alas I cannot seem to find a way to write a DLL that I can use with my VB .NET CF application. I can do "regular" DLL's for the .NET Framework, but not for the CF version. Any pointers anyone Thank you! Shouldn't be a problem, go to create new project, select Smart Device, then PPC2003 or WM5.0, then Class library. When you compile this you'll end up with a DLL Dunno about Smartphone 2003, never use these, this only has the option of ClassLibrary(1.0) ...Show All
Software Development for Windows Vista How to save user-defined camera parameters?
Hi! Here's the problem: My application is supposed to run 24/7. The user sets up the camera (which camera, what type - PAL/NTSC, Brightness, Hue, Flip Horizontal, etc.) using the Vendor supplied setup screens. If for some reason the computer shuts down (power failure, etc.) and then is turned on again, the application starts to work automatically. I need a way to save all the user's definitions (a dump to a binary file - I don't have to know what they are exactly) so that I can read them, and "inject them" to use as defaults when the program automatically starts on its own. This way the user will not have to be involved in setting up all the parameters again. Is there any way to do this Thanks for any/all ideas, Mechi ...Show All
SQL Server Grandtotal row diff between analytic and regular aggregate functions?
Hi, Assume there is no sale with over 2000 units, the first query returns no row while the latter returns 1 row with a null value. I am not questioning the result, I would like to understand conceptually what semantic difference between the Sql99 analytic function and regular aggregate function makes the result different in this case. select sum(Quantity) over() from orderdetails where Quantity > 2000 select sum(Quantity) from orderdetails where Quantity > 2000 thanks in advance, Jeopardy over() 1.Fetch the Rowset (if there is no row to fetch the Rowset is empty) 2.Apply the order/partition on the Rowset (if there is no row to fetch the Rowset is empty) 3.Apply the aggregate function (i ...Show All
Visual Studio Team System Web Test
I have created a web test. When i run it, it failed with the reason as 'Object moved here'. Why is this showing Thanks in advance Hi Chithra This means that the page had redirected. You must be able to see the actual redirected request just below this request. Thanks Rituparna ...Show All
Microsoft ISV Community Center Forums Setting DisplayFullScreen in Excel: 2 issues
I want to set Excel to use full screen mode immediately the workbook opens. In a test spreadsheet I have used both of these approaches (independently): 1. Create a macro called Auto_Open and record the mouse actions View | Full Screen 2. Use the VBA code: Private Sub Workbook_Open() Application.DisplayFullScreen = True End Sub In the test workbook both methods work fine. However I don't want the floating "Close full screen" box to be displayed. Question 1: Is there any way to inhibit this box On my real application, method 1 works OK but method 2 does not work - ie the full screen mode is not invoked. Question 2: Any ideas why method 2 (which I would prefer to use if possible) should fail There are no other macros or ...Show All
Windows Forms Using ToolStripControlHost with DateTimePicker
I ran into a problem today using VS 2005 and .NET 2.0 that I hope someone else has seen and can help with. I'm attempting to add DateTimePicker controls to a ToolStrip in the Designer. Since DateTimePicker is not supported by default, I created a new class that inherits from ToolStripControlHost . I applied the ToolStripItemDesignerAvailability attribute to the new class so that it would show up in the list of available ToolStrip items, which works great. However, when I try to add one of those puppies to my ToolStrip , I see it appear briefly and then vanish. I checked the designer-generated code and there's no sign of it. My class works great if I try to wrap a different kind of control (so far I've tried CheckBox , RadioButton , Num ...Show All
Visual Basic Use of Selected ListItems
I am not sure if this can be done, and at least done in a way where a noob can understand it. In my current VB class I am working on a project where we are supposed to call on some text in a text file and then use it to produce some results based on user selections. I am wondering if I can use a ListBox to show the choices, then by having the user click on "Submit" button call the right information. As I am learning this for the first time, and have never programmed before, I hope that you all take it easy on me. As a test to see if this works I tried the following: Public Class Form1 Private Sub Button1_Click (ByVal Sender as System.Object, ByVal e System.Event Args) Handles Button1.Click If ListBox1.Selecte ...Show All
Smart Device Development Traffic on GSM Modem
Dear All, I am developing an application using GSM modem I have around 50 messages limitonto my SIM card of Modem. Time when I am receiving the SMS I have to delete it using AT commands through C#.NET, Similarily I did when I had very less traffic , But Now I am getting numerous messages and the time when I am deleting the messages I am getting more messages still to come and it goes on increasing and my process of reading data gets slow... I want to get the messages directly to my PC hard disk instead of getting it on SIM card .As soon as new message comes in to GSM modem I would be able to redorect message to my hard disk So that , I would be able to handle large amount of Messages on my Machine Regards ...Show All
Windows Forms How to Add Assembly file?
I have to include Microsoft.Office.Interop.Outlook reference into my project, but its not there in my component. in msdn i got the info. i have to install O2003PIA. after installing that also, i couldn't able to get that particular references. how to get it Hi anukirthi, When you installed the PIA, the Microsoft.Office.Interop.Outlook.dll was added to your system. This assembly will be added to the GAC and when you add the reference, it will be found on the COM tab (not the .NET tab). If will be listed under the name: "Microsoft Outlook 11.0 Object Library". Hope that helps! -Brian ...Show All
Visual Studio Tools for Office Get value without making a selection
Hello all, I've created an addin for Powerpoint 2007 using VSTO2005 SE. My addin have a function that can get value from Powerpoint. For example, it will get the value from the selection that have been made in Powerpoint and display it in a message box. TWord$ = Globals.ThisAddIn.Application.ActiveWindow.Selection.TextRange.Text MessageBox.Show(TWord$) The above example code is working only if I have made a selection (highlight any word in any slide). My problem is, can I make the function to get value from Powerpoint just by placing the cursor at any one word Is this possible Can somebody explain how to make this work Thank you. Westman Hi Westman The best place to get help on working with an application is the ...Show All
Software Development for Windows Vista regarding invokeworkflowactivity based on xaml
Hi, How can I make the InvokeWorkflowActivity call a child workflow that is XAML only state workflow I used the following code snippet instead of invokeworkflowactivity IStartWorkflow aWorkflow = executionContext.GetService( typeof ( IStartWorkflow )) as IStartWorkflow ; Guid guid = aWorkflow.StartWorkflow( typeof ( SampleWorkflow1 ), parameters); Here StartWorkflow takes workflow type as argument. How can I use the XAML only file Take a look at this post for more info. ...Show All
Software Development for Windows Vista Anyone else Agree - Missing Event?
I was just wondering or agrees or... even... disagrees. Why is there no 'StateChanged' event There is event for Started, Completed, Terminated, but not the main event I , personally, would think would make the most sense: StateChanged Anyone else think this would very much be a benefit to workflows in general Especially, if the event included the option for a generic<T> object to be passed in the event. Again... a newbie just sharing his "two-cents". Trevor I am referring to having WF (by default - no additional coding by the developer) raise an event when a state changes. So if I have these States in a workflow: WaitingToBeginState GreenState BlueState YellowState C ...Show All
Audio and Video Development Background/Start Menu
I'm having trouble understanding how to set up a basic start menu, which goes away when video is selected (I have the spec now so feel free to refer me to specific sections/pages). Maybe I am going about this wrong but basically I have defined title 1 as not having any video asset. So at start no video plays. Instead you see a background image ("BACKGROUND") and a little menu panel ("TRAY"): <styling> <style id="BTNSTYLE" style:position="absolute" style:backgroundFrame="0" style:width="88px" style:height="88px" style:y="5px" style:x="5px"/> <style id="TRAYTEXT" style:position="absolu ...Show All
Visual Studio How to find out what command caused an memory exception?
Hi, I have the following question. My application is working when I start the release exe from the inside of the VS (MFC, C++). But when I start the exe from the windows explorer I get an unhandled Win32 exception and the JIT debugger shows me address 0x10032B4A in an assembly language window. How can I find out, what command in my C++ source code matches to this address (especially in release mode) Thank you, Bernd Hi, Just compile your code in release mode and start debuginig release mode exe. Then it will stop on the line that has excepted. This works for VS2005. I am not sure about other versions, specify which one are you using. Max ...Show All
Visual C++ Converting time in MSG to COleDateTime
Hi, I am using MSG to retrive the message I am getting all the details I am unable to decode the time which is in DWORD type. Is there any idea plz inform. Check this thread . Second question today on a really obscure topic. Is this a class assignment ...Show All
