Jamie Thomson's Q&A profile
Visual Studio VB.Net ReportViewer Local Mode Windows Forms Project
I work in VB.Net and I've got windows forms project that uses the ReportViewer in local mode. When I run my report using Visual Studio 2005 everything looks fine. The form pops up, a little green progress image displays, and the report loads just the way I want it to. However, if I run the .exe outside of Visual Studio this is not the case. The form pops up, but instead of the green progress image, the report displays the message "Report processing was cancelled." and a few seconds later the report displays just fine. I've downloaded sample projects of a similar nature that were written in C# and I do not get this same problem. I tried downloading Visual Studio 2005 SP1 and installing but that did not ...Show All
Visual Studio Problem installing SP1 Update for Vista
Hi, the Vista Update for SP1 doesn't install. The error message says wrong version of programm or not installed. I installed VS2005 Pro + SP1 GERMAN. Is it the language which is wrong ...Show All
SQL Server Blank page in report manager
When i load report manager everything appears to be running fine. The header, footer and nav bar at the top load correctly. Even the directory and file tree load fine. The problem is when you click on a report everything from below the nav bar ( where the report would be rendered) blanks out and load bar at the bottom just tacks at full. One way to fix this problem is to open the web config file for report manager save it then close the file. This is not a viable solution to the problem. I was wondering if any one else had the same problem . If so how to fix it We are having a very similar problem that is driving me nuts. My end users will get this situation - Report Manager banner and links at ...Show All
Software Development for Windows Vista Temporary admin rights?
Hi, I want to write an Programm which needs for just one function admin rights. How can I get temporary this rights I couldn't find how to programm this in VB 2005. Thanks for help. Rekire Elevation is per-process, and is decided at process launch. If you have a small piece of your application which needs to run elevated, you might consider seperating the functionality out into a seperate executable and manifesting it as 'requireAdministrator', or looking at the 'The COM Elevation Moniker': http://msdn2.microsoft.com/en-us/library/ms679687.aspx If it would need to be done during most launches for your program, you might consider trying to find another way to do whatever requires admin rights, or ma ...Show All
Software Development for Windows Vista Visual resizing
Hi! I am re-hosting the workflow designer. Is there any way to enable visual resizing of the activites in the workflow Thanks! Hi guy. because the WorkflowSurface has a task to Schedule child activity execution , it is not same to SequenceActivity that start by Activities[0]. as the WorkflowSurface allow child activity to be drag-drop anywhere,so it is important that the WorkflowSurface contains a special Activity that point it a workstep starter. and the workstep ender is also very necessary. so , you maybe need to implement StartChildActivity and EndActivity the 'OnSequenceComplete' method is a new method you need to add to WorkflowSurface class, maybe, more suitable name can b ...Show All
SQL Server Understanding Estimated Execution Plan
When I generate an estimated execution plan from Management Studio, one of the things I often see in the execution plan generated is an 'Index Scan'. When I put my mouse over the 'Index Scan' graphic, I will see a window display with something called 'Output List' at the bottom of the window. Do I understand correctly that SQL Server will scan my index looking for values in each of the fields included in this output list Thanks, Amos. Output list is nothing but the list of columns that will be projected from the operator (scan or seek). So this will relate to say the column(s) that are required for the join and/or referenced in the SELECT list of the query for example. There is a parent topic in the lin ...Show All
Windows Live Developer Forums V3 performance degrades over time
During my development, I had to refresh my webpage every so often. I noticed that over a period of time the map was taking longer and longer to refresh. In fact, at one point, it took 35 seconds. So, I decided to do some testing. With the help of the "window.setTimeout()" function, I automated the GetMap() function to run every 30 seconds. I calculated the time for the GetMap() function and saved it. It started out with 1 second and at the end of 30th call, it took 9 seconds. The increase was progressive and there were no spikes. I have 15 pushpins on the map. I'm using IE6. If I close the browser and restart my application, it starts running faster but gradually slows down again. In our production environment, I foresee my ...Show All
Visual Studio Express Editions database
can u help with the display data, i have one mdf tha manages all the employees, but i'd like to show only one category... i searched the web and i found a look and find method but it didnt work.. how can i do do u know where to find an example... kisses the search would be simple enough to do. Again you can use the links above but modify the code. so you can do a search and its syntax would be this: SELECT * FROM employeeTable WHERE employeeID = idKey and maybe fill a dataset using a dataadapter as shown in the links and bind it to a control for example. ...Show All
Visual Basic Dynamic Timers
hello all been struggling to find a way to solve a problem, i need to start a timer everytime a message is processed. each message needs its own timer. so i need to create a new timer each time and still be able to find the timer should the user want to cancel/send straight away. is there a way to create a queue of a structure of timers and ID numbers and have each timer when fired remove itself from the queue or some other array like structure that i can add and remove from easily with out limitations i suspect that i can not add a structure to a queue. Public Structure APIObject Public t As System.Timers.Timer Public ID As Integer End Structure is the object type i wish to create and ...Show All
Visual Basic Unbalanced stack Error calling winmm.dll
I’m getting an pinvoke unbalanced stack error in a call to winmm.dll. My declaration is: Public Declare Function mixerGetDevCaps Lib "winmm.dll" Alias "mixerGetDevCapsA" _ (<MarshalAs(UnmanagedType.I4)> ByVal uMxId As Integer , ByVal pmxcaps As MIXERCAPS, ByVal SizeofMcaps As Integer ) As Integer My definition of Mixercaps is: <StructLayout(LayoutKind.Sequential)> _ Public Structure MIXERCAPS <FieldOffset(0)> Public wMid As Integer <FieldOffset(4)> Public wPid As Integer & ...Show All
.NET Development Query about DataSet
Hi, Since we all know dataset is a form of disconnected recordset, wherein it connects to a database using an adapter, gets the data in the form of a tables(s) and then disconnects from the database. The user can do any number of manipulation on it, and the data can be updated to the database at one go. Now my question is, in a distributed environment, suppose the dataset has some data in it,a nd before its updates itself to the database, if someone else changes that same data in the database, how does it synchronize itself. How does this thing work. Regards, Bhaskar I could be wrong but I believe whoever updates their dataset to the database, gets commited over writting whatever data already existed. the dataset ...Show All
SQL Server Query RowVersion in SQL Server 2005
Hello all, I am new at SQL Server 2005 and have been reading everything I canfind about the new optimistic concurrency control mechanisms. As far as I can tell, the Snapshot Isolation Level is based avoids the use of shared locks using rowversioning instead. To control rowversions in SQL Server 2000 I was using an extra column in each table containing a rowversion datatype. Is it possible in SQL Server 2005 to avoid the use of this extra column What I mean is, if the Snapshot Isolation already manages rowversions in TempDB, is it possible for me to query those versions using some stored procedures or functions given by SQL Server 2005 system What functionalities does SQL Server 2005 gives me for that (any documentation pointer ...Show All
Visual Basic textbox validating
I ahev a form in vb.net in which the textboxes are validated useing e.cancel. My problem is I want to have a "clear Form" & an"exit" button. If a textbox has focus and I click a button to clear/exit the button click is not called as the textbox retains focus due to e.canel=true. How can I get these buttons to work Colin The issue you're having with the Save button retaining focus after the validation error message is acknowledged can be handled in the Validating event by setting focus back to the textbox. MessageBox.Show(...) textbox1.Focus() Everything seems to be working for me with the exception of when the user hits the ESC key. I've set the CancelButton property on the form to us ...Show All
SQL Server Null values when extracting data from an excel file
Hello, I'm trying to import some data from a spreadsheet to a database table from a package in integration services. The problem is that I see the data when I open the excel file but when I try to run my package , it doesn't insert any rows in the table and it finishes with a success status. My excel file has some formulas to get the data from other worksheets. I added a Data Viewer and all I see is null values in every cell. I need help...does anyone know what's wrong In my case, it happens in both situations, closed or opened. But it happens when I modify something in the sheet. I inserted some rows in blank and that's when I cannot read the data in SSIS. I still have the original file and I wa ...Show All
Smart Device Development searchbox with Treeview
I am using Treeview to display the Contacts like .. Group >>Level 1 Node ConactName>>>Level 2 Node Home No >>>Level 3 nodes Mobile No Office No ConactName Home No Mobile No Office No I want to add a search box (like provided with contact screen).If a user enters some text, i shall be able to update the treeview with matching text nodes. How can i do that I dont see FindMatchingItem type method in treeview. ...Show All
