GTH's Q&A profile
SQL Server ReportServer Website
Ok, I have this up and running thanks to the help of lots of users in this forum (Thank You again) I deployed some reports, and everything looks fine, however to add another twist to this, I would like the website to look prettier, by adding something like a welcome page,and some folders and such. Does anyone have any ideas on how to do that DO you have any material or a website, where I can get some info Thanks ...Show All
.NET Development WSE 3.0 ::: does not contain definition for 'setPolicy'
Hi all, I'm developing window application and connecting to web service with WSE3.0 using UsernameToken. everytime i try to debug, i will face one problem; --------- Error 1 'FinalSenarioProjectPrototype.PropertyCompanywebService.Service' does not contain a definition for 'SetPolicy' --------- Any body occur this problem before thank in advanced (",) Best Regards, /////////////////////////////C#.NET window application/////////////////////////// private void btnWebService_Click( object sender, EventArgs e) { PropertyCompanywebService. Service srv = new PropertyCompanywebService. Service (); UsernameClientAssertion assert = new User ...Show All
Visual C++ Avoiding "Additional Include Directories" for a project within a solution
Using the following version: Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) I have a C++ (unmanaged) solution with several projects within it. One (and only one) project is dependent on the rest of the projects within the solution. This project requires the header files for its dependencies. Is there a way to tell this project to look at its dependency folders to find the header files, rather than typing in each dependency folder into the "Additional Include Directories" configuration parameter for the project properties Thank you. I meant that I don't like to get stuff from source safe and have some header file in two places on disk. If the file is shared, it will end ...Show All
Community Chat NumberBox User Control
OK...the NumberBox user control is ready for BETA TESTING.... Also important NOTE: For use with Visual Studio 2005 .NET Framework v2.0.50727 So you say you need a control like the textbox that will only accept numeric input... You want it to format it how You want it to be able to accept math expression! AND you want it to evaluate those math expressions.... Give it a spin and put it through the grinder and let me know what comes out!!!! http://codegallery.gotdotnet.com/NumberBox Overview The NumberBox control is a user control with a single textbox control. At its very basic setup the NumberBox control is used to restrict the user to inputting only ...Show All
Visual Basic Best way to display data?
Hi all, I have a small VB 2005 app that calculates vacation accrual for each pay period over the next year. I am storing the calculations for each pay period in an array of instances of a pay period class. I would like to display this in a subform similar to an Access continuous form. How can this be accomplished There is too much data to display in a single line so I need 2 lines for each pay period. A data grid would not work. Yes I am new to VB. Thanks, Steve If its a fixed number of items you calculating - say for the the next year which would be 12 months. Then why not simply create a form design with the appropriate number of labels. You could do this either at design time or runtime. I know I've seen a repeate ...Show All
SQL Server Bug?? Transfer SQL Server Objects Task - error when copying Views
I'm trying to copy data over using a Transfer SQL Server Objects Task however I get problems trying to copy over views. I get the similar error (pre sp1) when using import/export wizard and copying over views. Now with SP1 the views just don't transfer. I'm transferring from SQL 2005 to SQL 2005. The error I get is: Error: 0xC002F363 at Transfer Data (NEW), Transfer SQL Server Objects Task: Table "vw_XXXX" does not exist at the source. Task failed: Transfer Data (NEW) I know the view exists at the source because: A) I can select it in the Views List Collection within the Transfer SQL Server Objects Task B) I'm using the view on the source Somehow the views are not transferring. Anyone have any ideas ...Show All
SQL Server Using FreeTextTable Conditionally
Hello all! I have a stored procedure that accepts a parameter @SearchTerm that may be null. In my WHERE clause, I check for all records where @SearchTerm is null, or are LIKE '%' + @SearchTerm + '%' when not null: SELECT (some records) FROM (some tables) WHERE @SearchTerm IS NULL OR (some fields are LIKE '%' + @SearchTerm + '%'); I am trying to use FTS with a FreeTextTable to make our search ability more robust: SELECT (some records) FROM (some tables) JOIN FreeTextTable(tableName, columns, @SearchTerm) ft ON ft.[KEY] = tableName.[KEY] However, because @SearchTerm can be null, meaning the user is not filtering our records by a search, doing a JOIN to a FreeTextTable throws an error (cannot have null as search string). Ple ...Show All
Visual C# Window Hook?
Hello, I know you can create window, message, mouse hooks and such but is it possible to do some sort of window hook that can notify my program whenever a window is moved or created See This: http://www.codeproject.com/csharp/globalsystemhook.asp Best Regards, Rizwan ...Show All
Software Development for Windows Vista Live UDF slow and buggy
In the following, I am comparing the Live UDF of Vista to Windows XP SP 2 with Roxio Drag-to-Disc version 8.0.5.23. The following tests are done on the exact same hardware, and using the same files. I have XP and Vista build 6000 installed on two separate partitions of the HD. This should serve to suggest that all of the following differences are due to software only, and not hardware or other factors. Two bugs : 1) I insert a CDRW and open Windows Explorer, and select Erase Disk. When I press the OK button to begin erasing, Explorer and the progress window both close, and the erase apparently is not being done... Launching Explorer again and trying the same thing again seems to work. This bug also existed in Pre-RC1 build, and seem ...Show All
Visual Studio Express Editions How do I print Ascii characters?
Visual Basic 2005 Express Edition: I want to print arrow characters - up, down, right, left. I see them them in the Wingding font, but, how do I find out which key to use to select those characters Or, how do I know which ascii character number it is I tried the following code: For i As Integer = 0 To 255 RichTextBox1.Text = RichTextBox1.Text & i & " " RichTextBox1.Text = RichTextBox1.Text & Chr(i) & vbCrLf Next But, I need to switch fonts somehow in order to display i as a number, then chr(i) as a Wingding. The funny looking 'b' when displayed/printed in wingdings font will display the arrow. You are viewing it in a regular font. Changing the ...Show All
SQL Server Replication: periodic initial snapshot not yet available
I have a push subscriprion (publisher sql2000, distributor 2005, subscriber sql2005) that periodically (twice per month) changes it's status to " ... initial snapshot not yet available ...". Then I need to mark it as for reinitialization and start the snapshot agent (starting the snapshot agent without marking it for reinitilization doesn't starts the subscription to initilize itself). There is nothing important in the logs. Any suggestion why this may happen The network connections between distributor and subscribers sometimes are broken (it's over VPN), but there is a couple of other replication that goes the same way and they are fine... Has anyone gotten anywhere with this one We're seeing the same issue with SQL 2k5 . ...Show All
SQL Server pull subscription
Hello, i have one publisher with one pull subscription. when i make any change in publisher, that change is propegated to subscriber, but when i make any change in subscription, the change is not reflected. i have tried a lot of options but no one worked. please help me. Regards, Gregg, Actually i am using MSDE 2000. I have one Global publication and one site publication. i have a database called Temp. Temp is subscriber of both publications. Keep in mind that Temp is pull subscriber of Global and push subscriber of Site. Now problem is all data updates in the global server are propegated to Temp and finally Site but any changes in Temp are not reflected throught Pull subscription to Global. I hope now you can help me in what is the p ...Show All
Visual Studio Express Editions How to run an embedded application
I would like to build an application that installs other applications. I have figured the following out: System.Diagnostics.Process.Start(System.Environment.GetEnvironmentVariable("temp") + "\theapp.exe /quiet") The problems I am having is actaully embeding theapp.exe into the setup.exe. It requires the folder WindowsApplication1_1_0_0_0 to be present, I want a single bundled application. I know there are packaging applications for doing that, but cannot find any that are free. Any help if you want to pass args to the process then you need to use the startinfoclass of the process: Dim p As New Process Dim si As New ProcessStartInfo si . File ...Show All
.NET Development Accessing user information from client
Hi, I want to acces to user information from my client code, in concret I want to acces to the USER_LOGON value. Supose I have the WhoAmI.aspx page: <%Response.Write(Request.ServerVariables["LOGON_USER"]);%> It will return my domain and user name, for instance: AD/JONCINS The question is: How could I do that using only Javascript and doing nothing with c# and ServerVariables Is there a way to obtain the "LOGON_USER" only from client side Thanks in advance This will work with the drawback that the user has to have security settings set to either enable or prompt for ActiveX controls and that they allow it to run but it is probably the best you can do with only client side script. ...Show All
SQL Server what's the error in ini file?
I failed to install sql server express with ini file.Please tell me the error in ini file. Content of ini file: [Options] USERNAME=user1 COMPANYNAME=corp [ADDLOCAL] ADDLOCAL=All [INSTANCENAME] INSTANCENAME=dev [AUTOSTART] SQLAUTOSTART=1 [SECURITYMODE] SECURITYMODE=SQL [SAPWD] SAPWD=dr3dr233 [DISABLENETWORKPROTOCOLS] DISABLENETWORKPROTOCOLS=2 The command to execute install: setup.exe /setting setup.ini /qn Thanks. hi, first decompress the SQLEXPR.EXE via the /X parameter like c:\..\>SQLEXPR.EXE /X you'll be prompted for a path to decompress to... then, just try to modify the ini file as <setup.ini> [Options] USERNAME=user1 COMPANYNAME=corp ...Show All
