GSReddy's Q&A profile
SQL Server Anyone using OSISoft PI system with SSRS?
Have any of you interfaced with OSI Soft PI system This is a proprietary database which is said to support OLEDB and ODBC. OSISoft PI is a common "historian" for time-series data storage in process control systems and real-time control systems. Thanks The PI Sytem does indeed support OLEDB and ODBC access. For more info, please contact OSIsoft Technical Support at techsupport@osisoft.com for assistance. Reference the system number of the PI Server which you are inquiring on behalf of when you send in your question. Thanks, Steve Nye, OSIsoft Technical Support ...Show All
Visual C++ VC2005 RC editor SourceSafe integration severely flawed (worked in 6.0)
1. No right-click menus in RC resource editor to check out a part of the resource. In VC 6.0 when you right clicked on a dialog, for example, a context menu with "check out" would appear, and if chosen, it would list both the RC file AND the resource.h file. Now there's no way to seamlessly check out those two files together, or check out an individual bitmap or icon for example without going back to solution explorer. 2. When checking out an RC file by starting to edit a particular resource (like a dialog box), but someone else has changed the resource and checked in since you got your copy, it will give you a message that your RC is stale, but it gives no way to reload the new copy. If you then ...Show All
Smart Device Development '07 Outlook Contact Notes dont sync to smartphone via activesync 4.2 - Help
Notes in Outlook 2007 Beta 2 do not sync down via Activesync 4.2 to my Samsung i600 smartphone but do sync up, can anyone help Tx, Mike Adams This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Windows Forms Program Icon Question
Hi, just a question about what VB Express allows concerning icons. I made an icon (.ico file) which after deployment displays fine for the start menu. However, it does not display in the actual program. Is this a limitation of VB Express or is there a trick to display a custom icon in the actual program (upper left corner & task bar) I am asking this because I got an icon I downloaded from somewhere to display in the program (don't ask me how) and now I can't get it to not display. Any ideas Thanks, Daniel The application must use the icon as well. Follow these steps Highlight the applications project and F4 for properties. On the Application Tab change the Icon to the one you have created. Rebuild ...Show All
.NET Development Win Form Memory Usage
Dear All, I am running win form application based on C#. The problem here is that I notice something that once I exit my program and when I look at my task manager under the processes tab I can still find my application is in it. That means I have not actually exited my application or even closed it. What is the problem because I am worried is eating up memory Can somebody pls guide me on this. Dear Mr. Philip, I am using C# actually. I dont get you when you said I am hiding the main form Ok let me explain my first form is the login form. Upon authentication I will go to a mdi form which has several different menus. So users can go about using different form. So I guess well I ne ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "Use of unassigned local variable" error on Xbox360 but not Windows
Anyone know why the compiler produces an error when the following code is compiled in an Xb0x360 project but not when it is compiled on a Windows project public void GetTileRect( int tileX, int tileY, out Rectangle tileRect) { Rectangle myRect; myRect.X = tileX * tileWidth; myRect.Y = tileY * tileHeight; myRect.Width = tileWidth; myRect.Height = tileHeight; tileRect = myRect; } I get a "Use of unassigned local variable 'myRect'" when assigning it to tileRect. It's not a big deal, I can get around it by simply using "myRect = new Rectangle()". I'm just wondering why it works in one case but not the other. the reason is because you're us ...Show All
Visual C++ DLL with C++ - Design question
Hi, I come up into a question about which method would be better to write my DLL. 1. Write it purely in C 2. Wirte the class in C++, then use C function wrapper 3. Write everything in C++, and export the whole class Can anyone kindly point out the pros and cons of the above alternatives, and if there're other designs, please kindly let me know too. Thanks! Creating class instance inside every exported function is pretty simple. But this doesn't allow to persist class instance between API calls. If this is OK for you, do this. If you need persistence, take a look at Windows API and handles concept. For example, GetDC, ReleaseDC and DrawText. GetDC creates some object and returns handle to it. Drawing functions li ...Show All
Visual Studio Tools for Office actionspanecontrol v.s. usercontrol
I am new to vsto 2005, and have a few questions. 1- is task pane and action pane the same thing 2- in creating a word project , I can do : this .ActionsPane.Controls.Add( new UserControl1 ()); this .ActionsPane.Controls.Add( new ActionsPaneControl1 ()); is there only one actionpane for a word document, can we add more and how 3- what is the difference of usercontrol v.s. actionspanecontrol thanks. I did the conversion on my previously working project . now everywhere there was code , I have this: #if InfoPathManagedObjectModel am I supposed to set this, or should it be a setting in the infopath ...Show All
SQL Server Import Flat Files
hi all i using SSIS to import flat files and i need support how can i import flat file from folder inculed many files and when finish start to next and next ..... if can i select from flat files to add condition like Select * from.....where ...... thanks Hosam Abd EL-Wahab wrote: hi all i using SSIS to import flat files and i need support how can i import flat file from folder inculed many files and when finish start to next and next ..... if can i select from flat files to add condition like Select * from.....where ...... thanks You can run a foreach loop in your control flow to loop over every file... No, you can't do a select * from flatfile where.... However ...Show All
Audio and Video Development adding a pause in script
i'm wondering if anyone can help me add a pause in script. i'm trying to delay a function so that an animation has time to complete before a function begins. i'm familiar with setTimeout(), but i believe it is not supported in iHD thank you very much Peter for your knowledge, time, and promptness! will you have any time soon to post a sample of picture-in-picture application ...Show All
Windows Forms Setting Datagridview Styles Dynamically
Hi, As part of my learning of VB express I am stuck at the moment on setting the datagridview styles dynamically. I can change the default formatting colours etc but what I would like to do is change the colour of a complete row based upon the value of a given cell within that row. I have in my datagridview a number of rows where one row has a cell with the value 10. I would like to paint this row's background red to highlight it from the rest. I have tried many ways of doing this but without the required result. I have used the .rowprepaint and .rowpostpaint events Any help would be very welcome # Region " Paint the row red for rows that =10" Private Sub DataGridView2_CellFormatting( ByVa ...Show All
Visual Studio Express Editions Where does the .NET framework put programs?
I wrote a small application in VB Express and installed it on my laptop which runs Windows ME. After installing the .NET framework the application loaded and ran ok. I'm reconciled to the fact that the .NET framework will have to be installed on all my client's computers (even though it took 20 minutes). But the code isn't located in the "Programs" folder. Is this normal Is there any way to have the installer put them there I want to distribute my application from one CD to run under Windows 98, ME, 2000 and XP. Will this be a problem Publication puts programs In an unpronounceable directory in DocumentsAndSetttings Directory of C:\Documents and Settings\Renee\ Local Settings\Ap ...Show All
SQL Server Report SnapShot Creation Programmatically through Java
Hi, I am facing some issues while creating report snapshots programmatically using axis (Java platform for creating and deploying web services applications). To create a report snapshot what should be the methods called I tried using UpdateReportExecutionSnapshot() but didn't find any parameters to set the schedule information which would say when the execute the report snapshot. Can you please guide me for this Also I had one more doubt regarding report snapshots. If a parameterized report is configured as snapshot then we would require to set default parameters for the report. Is there a way to create snapshots of the same report with different parameters eg : The employee information report displays the information base ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2-D game making HELP???!??!?!?
So I downloaded XNA Game Studio Express for Windows, and I just wanted to make a 2-D game ....and I thought it was just drag and drop not all these codes and stuff....I am using the wrong software or something.....HELP ! ! ! ! ! I believe you might want to look at Torque Game Builder X http://www.garagegames.com/products/torque/x/ This generates XNA projects with a drag and drop editor, if memory serves me correctly. I think it was used in the Tank Buster demo. -SysErr ...Show All
Visual C# ShellExecuteA Close
I am not sure where to post this question so I apologize if this is not the right place. I am looking for information on how to use Windows API functions. Within my application, I can open a file by using ShellExecuteA. However, what I would like to do is: 1- Use an API function to determine if a specific file is open 2-Use an API function to close a specific file Hi, Here is Microsoft Win32 to Microsoft .NET Framework API Map : http://msdn2.microsoft.com/en-us/library/aa302340.aspx Hope you can find it for your specific need. Thank you ...Show All
