Priidu Paomets's Q&A profile
SQL Server Help with auto printing reports using Report Services
I'm at a breaking point, so I'm hoping someone can help me! I am new to Microsofts SQL Server suite, and from what I've used so far, I love it... except for the sheer complexity of it. I've only been tinkering for 2 weeks now, so excuse me if I'm a bit ignorant. I'm trying to develop an application, and part of that application is when data is submitted to the database, a report needs to be generated, and automatically printed. I thought that this would be quite easy using SQL 2005, but I've found that isn't the case. Before I continue, let me just say that I NEED the report to automatically print out; I've had a lot of people say to me 'Jus ...Show All
Visual Studio Team System [WebTests] App.config in Testproject can not be referenced
Hi all, I also have a problem using an App.config file in connection with Web Tests. I have looked at all threads concerned with this topic in this newsgroup before but non of the resolutions worked for me unfortunatly. Here is my problem: I would like to reference an App.config file from my web tests for several reasons: - I am using the enterprise library building blocks and I need to set some configurations in the App.config file. - I would like to read out a Connectionstring from the App.config file. The problem I am running into seems to be quite simple: it does not pick up the App.config file in my test project when ...Show All
Visual Basic free up the memory allocated to a variable
Dear All, Procedure ABCD() DIM xyz as string xyz="....." ---------- 'from here onwards, I don't need or I am not using the xyz variable, So I want to free up that memmory. How can I -------- ------ END SUB Please read the comment in the code., If possibel please give me an answer. regards citrus When the variable goes out of scope and is unreferencable in the application then it will be subject to collection by the grabage collection process. So in the case of local variables such as this - once the procedure has executed then it may still reside i ...Show All
Visual Studio Team System Testing webservice for XML with MTOM Element
Hi, Does anyone have ideas about testing a webservice which accepts xml data with MTOM element in it The service generates two id's(guids) one for the header and one for the message body for each message sent. Thanks, The best way is to use a unit test that calls the web service. Then the .NET framework and WSE will handle this for you. You can get WSE 3.0 here: http://www.microsoft.com/downloads/details.aspx FamilyId=018A09FD-3A74-43C5-8EC1-8D789091255D&displaylang=en Ed. ...Show All
Visual Studio Express Editions webbrowser control
Hi everyone, I am trying to set the URL value for the webbrowser control ath the run time after ccepting an input from the user. Does anyone know how to resolve the problem in converting the data input type from text or string to url type. thanks Moody thank you very much, i got it to work using the code you send me. i just added the reference to the form that contains the webbrowser form and it is like this mybrowser.WebBrowser1.Navigate(txtMyaddress.Text) thanks a whole punch. Moody ...Show All
Visual FoxPro word in vfp
i have seen in some programs a window similar to word that opens inside from vfp.is it possible to open ,lets say a word istance window inside vfp ,so that i can create save print a word document Probably you mean rtf sample in solution.app. Word also could be used with in-place activation in form but not suggested. If you want to do it then instead place a webbrowser control and navigate to a doc file. I recommend using wod automation instead. ie: oWord = createobject('word.application') * word vba commands ...Show All
Visual Studio Team System How to delete a team project
After create some test team project, I want to delte it. However, I can't find any command on UI that could delete a team project. How can I delete it Thanks! ...Show All
Visual Studio Team System Can/Will beta 2 SCC/WI data be preserved in the GA release
OK, we're interested in starting to use beta 2 for our next big project, however I need to know if the data we create using beta 2 can be preserved (or at least migrated) in the GA release Does the "go live" license apply to TFS too Dave We haven't been dogfooding it for 2+ year - It's been about 8 months :) A converter from SourceSafe has been planned from the beginning as you suggest and is available in the Beta. The issue of migrating from build to build has been on the radar for a long time - it's just that it's a tricky problem to solve while the schema is still so much in flux (and it was at the time we snapped the sou ...Show All
.NET Development SQL Question
Is it possible to do this with an SQL statement My table contains name,address,phone,email I want to return all rows where email exists in table more than once, i.e. i'm checking for duplicated email addresses Thanks SELECT name,address,phone,email , COUNT(*) FROM MyTable GROUP BY email HAVING COUNT(*) > 1 ...Show All
Windows Forms How to disable the Xp Visual Style for a control ?
Hi, I would like to know if it is possible to disable the Xp Visual style for a specific control I have a progressbar in my C# Winform application, and i can't use style = continuous. The only way i found to remove the Xp visual style is this sample: [Private Declare Function SetWindowTheme Lib "uxtheme.dll" ( _ ByVal hWnd As Long, ByVal pszSubAppName As Long, ByVal pszSubIdList As Long) As Long Private Sub RemoveTheme(ByVal hWnd As Long) ' On error means the code is skipped on pre-XP OS On Error Resume Next Dim lR As Long &n ...Show All
SQL Server template.ini differences, typos, possible superfluous/omitted content
The SQL Server 2005 Enterprise and Developer editions have identical template.ini files. SQL Server 2005 Express with Advanced Features has a template.ini with additional entries. These entries do not appear appropriate for Express and thus would be superfluous. Notice that the Note in the Express template.ini says an upgrade to SQL Server Express requires NT authentication, so it doesn't make sense to include SQL login parameters ( UPGRADEUSER and UPGRADEPWD ) in a template.ini for Express. Also notice that the SKUUPGRADE parameter is included in the Express template.ini file. This doesn't seem to belong there because the comment ...Show All
Windows Forms Smart Client and DLL searching
Hello, I am working with a smart client application and it works fine. When I access it through web I get following IIS log: 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo.exe.config 403 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo.exe 304 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo.DLL 404 04:52:22 127.0.0.1 GET /AsyncWebServ/SmartClientDemo/SmartClientDemo.DLL 404 04:52:22 127.0.0.1 GET /AsyncWebServ/bin/SmartClien ...Show All
Visual C# Nice Threads!
I could really use some help here... I am using C# 2005 and have created a splash screen that runs on a seperate thread. I can invoke the splash screen in the Main() method, but then I can't get rid of it! I am attempting to put a line in the Form1_Load (or maybe Form1_Shown) that calls a static method in the splash screen to close that form. But, when I do so, it complains about an invalid cross-thread operation. How can I get this screen to close Here are the relevant parts to my splash screen: // Static Public Method to launch Splash Screen static public void ShowSplash() { if (ms_frmSplash != null) return; ms_Thread = new Thread ...Show All
Windows Forms datagridboolcolumn
Hello I've got an datagrid and in it i have a column with datagridboolcolumn. It works fine but the problem is that i'm filling the grid with empty rows when it's not filled with data. The problem is that a would like to get rid of the checkboxes on the empty rows. I'm filling the empty rows from the dataview and the rows contains d ...Show All
Visual Basic Is it possible to loop through varibles
Working on Microsoft Visual Basic 2005 express edition, I have got ten varibles called a1 to a10 and another ten called d1 to d10. Is it possible to create a loop that has: a+(loopnumber) = d+(loopnumber) Public Shared Function BinarySearch (ByVal array As System.Array , ByVal index As Integer , ByVal length As Integer , ByVal value As Object ) As Integer Member of: System . Array Summary: Searches a section of a one-dimensional sorted System.Array for a value, using the System.IComparable interface implemented by each element of the System.Array and by the specified value. ...Show All
