SHAS3's Q&A profile
Visual Studio How to update website with new RDLC reports?
I have created website whitch is ment for createing reports based on variable setings in SQL database, dinamic field changes, etc. I started by createing GridView, and so far everithing was great, i dinamicly create columns, add sum fields, etc.. but now i must create custom reports, witch dos not go in usual tabbled structure. i have created RDLC with dinamic query behind and everything works fine, as i deliver this web site to client, but if client suddenly wants some new report... i can add some rows in DB and tabular views will work, but how and is it posible to later on install or add custom RDLC and Web Control with report viewer witho ...Show All
Visual Studio VSS and Using of Proxy Server
We are using the VSS-AddIn for VSTS2005 over internet. However by some customers we are required to use the proxy. Is there some way to setup the proxy server for the VSS-AddIn Please note that it is possible to connect to the web service from Internet Explorer. Example: http://www.daenet.de/SourceSafe/VssService.asmx Hi Damir, Indeed, proxy support was added in more recent VSS builds (50723 if I'm not mistaken). However, I'm not sure if it's only the proxy causing this. 0x80072F78 means ERROR_WINHTTP_INVALID_SERVER_RESPONSE, so there might be something wrong with the server installa ...Show All
.NET Development Dispose and Application Lifetime Objects
Hello, I have a Windows Forms application. When the app first runs (Form_Load) I create some disposable objects that will be used throughout the lifetime of the applicaiton (eg. a GDI Brush, SqlConnection etc). Do I really need to call Dispose() on all of these objects when the application closes, or will Dispose be called automatically for such objects when the app closes In other words, can I instantiate a disposable object when my app first runs, and not worry about disposing it when the app closes What about if my application terminates due to an exception Many thanks for your advice. Ben Hi, Unmanage ...Show All
SQL Server Import Export Wizard - ODBC to SQL
Hi all, we have recently purchased a server with sql 2005. One of the things we are looking to do is pull our entire informix database over onto the sql box. I have tried using the import/export wizard however when it comes to the copying I the option to copy all tables is greyed out. I have been able to do this sql to sql but not when i select the source as odbc and destination as sql. I need to try and resolve this quite quickly and any advice/help would be appreciated. Please bear in mind that im relatively new to this stuff. I have had a look at other posts, and am getting the impression that this cannot be done simply. My initial ...Show All
Visual Studio 2008 (Pre-release) HierarchicalDataTemplate, ItemsSource and CollectionViewSource
Hello! Is there a way to specify, in XAML, that a HierarchicalDataTemplate may have it's ItemsSource object to be wrapped by a certain CollectionViewSource (The instance of CollectionViewSource could for instance provide sorting of the ItemsSource collection) If yes, may you provide a hint, please ! Best regards, Henrik Dahl Hi Henrik, The data binding team has been discussing that scenario pretty extensively lately. Unfortunately, the decision for V1 is not to support that, but we will for sure consider it again for V2. I think this will be a pretty common scenario, and we should allow i ...Show All
Visual Studio Tools for Office Capturing Out of office event in Outlook 2003
Hi all, I'm writing an addin for outlook, where I need to capture out of office event (when user turns out of office on / off). I would also need to be able to get the out of office message that user has entered when out of office is enabled. What is the easiest way to do this I'm using VS.Net 2003 (C#) for addin development. Thanks in advance. Hey, We could use CDO or Extended MAPI to turn on/off Out of Office rules. However both CDO or Extended MAPI are not supported from managed code. I don't know if we can capture the event using Outlook Object Model. A quick search did not show any way o ...Show All
Visual Basic clearscreen()
I want to clear the user typed content of a textbox and the results which appear in labels as a result of the code in my command button. I thought I could create a command button, label it btnClearScreen and code it ClearScreen() however, when I do this, VB.Net tells me that ClearScreen() is not declared. I thought I read that ClearScreen() would clear data on a form but not save it. I take it ClearScreen() is not a built in (method) is that the correct way to ask that thanks Gary Good Morning Cathal, well, I had it close and with your guidance, it works. I think I am learning but programmi ...Show All
Visual FoxPro SELECT statement is showing unwanted display of data and is not passing data to a table.
I'm using a SELECT statement to pull out data from a table... that is working great. What I'm trying to do is feed the selected data to a different table using REPLACE so that it can be used by a report. All of this is triggered from a command button on a form. Here's the code for the CLICK property of the button: SELECT store, stock, year_1, make_1, model_1, auction1, transport, recon, sold_for, fees, net_check, result ; FROM wholesale_table1 ; WHERE In_Date >= DATE ()-60 ; && sets a sixty day date range AND sold_for < 1 && removes all sold vehicles && store.value ='DODGE' -> uncomm ...Show All
Visual FoxPro Problem while installing foxpro 9
Hello, When I run setup.exe for Visual FoxPro 9.0, welcome screen is displayed with two links activated; prerequisites and Visual FoxPro. When I click either on these, setup program hangs and nothing happens. This issue is valid also for Visual FoxPro 8.0. Any ideas Thanks I am using XP SP2 installed on a new HP notebook. I am logged in as administrator. I am using the original CD and it worked fine on my two desktops with XP. I also thought about a blocking virus scanner so closed all firewalls and scanners. I waited for almost half an hour and no action has been taken by the setup application. ...Show All
Visual C++ Visual Express 2005 beta 2
Ive recently installed VC++ Express Beta 2 and the tool kit, when i create a Console Application, how do i get the dll option which is disabled to be enabled. Because on my previous install of VC++ Express Beta 2 that option was enabled. Thanks. I just installed the latest VC++ Express bits and I believe dll console application wizard is not part of the Express bits. I have also talked to some of the IDE folks and they seemed to indicate that it was probably part of beta1 but starting from Beta2, it is not. This doesn't mean you can't build dll's. you can just use the compiler option /LD (it is just yo ...Show All
Visual Basic Delaying code.
Hi guys. Quick question here. I'm looking to put a delay inside a For/Next loop to make the computer wait a designated amount of time before continuing. Rather than use a timer control, I want to keep it purely within code. I remember the good old days where you could just go DELAY 1000 and be done with it, but alas, it seems that those days are no more. If anyone could help me out it would be much appreciated. It sounds as though you know the pitfalls and they are acceptable in yoru circumstances. The whole delay question comes up and people will use it in unacceptable ways when its not necessary or then suddenly find the pitf ...Show All
Windows Forms Anyone have components to sell?
He are a small component developer company , but we plan to start distributing component/controls. so if any of you have components/controls that you want to sell , please contact us at info[at]compona.com Regards Roger Johansson Compona Solutions ...Show All
Windows Forms DataGridView -- BindingSource isn't updated
I have a DataGridView that is bound to a BindingSource. When the user right-clicks on my grid, I have code that selects the row the user clicked on. It looks like this: private void dataGridView_CellMouseDown( object sender, DataGridViewCellMouseEventArgs e ) { // Select the row employeeDataGridView.Rows[e.RowIndex].Selected = true; } The problem with the above is that the underlying Current object doesn't change to reflect the change in the selected row. How can I ensure the two are in sync Or you can set the DataGridView's CurrentCell proper ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Develop a console program that calculate and displays the charges for each customer who parked a car in this garage yesterday. ...Show All
Visual Basic Rotate an image
Is it possible to rotate a picturebox or an image inside a picturebox Also, is there a way to make the picturebox backcolor actually transparent Setting it to Web/Transparent does not work. The matrix is just a way to bundle the coordinate-offsets, but you don't really need a matrix to do the moving/rotating/scaling if you use the TranslateTransform to move, RotateTransform to rotate and ScaleTransform to scale. I'm gonna give it a shot - should be a nice control to have. ...Show All
