gorbett's Q&A profile
Internet Explorer Development Create webpage without menus, address bars and toolbars etc.
I'm interested in creating a webpage (not a pop-up window) using ASP.Net (C#). However, I don't want the standard buttons, or the address bar and menu bar appearing on the webpage. Only the Title bar and Status bar should appear. Is there some code I can use to implement this Note: I've already seen codes using the window.open() function, but that's not quite what I'm looking for, as I want to make my homepage without the standard buttons, address bar, menu bar etc. Thanks in advance. Naush ...Show All
.NET Development WSE066 Error
Hi, I'm getting the following error on a few clients. -------- Microsoft.Web.Services3.Security.SecurityFault: Message Expired ---> System.Exception: WSE066: Timestamp is expired. This indicates a stale message but may also be caused by lack of synchronization between sender and receiver clocks. Make sure the clocks are synchronized or use the timeToleranceInSeconds element in the microsoft.web.services3 configuration section to adjust tolerance for lack of clock synchronization. -------- I've set the timeToleranceInSeconds to 14400 and verified that the clients receiving this error are within this time window. Since this is only happening on about 5% of my clients, I think this is a client configuration issue and not a service re ...Show All
SQL Server Importing Active Reports to SQL 2005 reporting services
Does anyone know of any documentation that shows a easy way to import Crystal reports / Active reports to SQL 2005 reporting services Thanks Unfortunately, there is no easy way to do this: There are no wizards, etc. in SSRS (or 3rd party, as I recall) that will do the work for you. There are some services (Hitachi consulting, etc.) that will refactor the reports for you, but this obviously will cost some $$'s you probably don't want to spend. ...Show All
.NET Development Garbage Collector deleting Win32 window wrapped in NativeWindow Class
Hi I have a class derived from NativeWindow which calls CreateHandle to create a WIN32 registered window. However, the WIN32 window created suddenly gets destroyed and I've proved its the Garbage Collector thats doing it presumably because the derived NativeWindow Class gets destroyed. The NativeWindow Class is created in a UserControl derived class which in turn is hosted on a Windows Form. I did post a link to the original post I made on the WIndows Forms forum which included sample code but a moderator deleted the post as a Cross Post but its not a WIndows Forms issue but a Garbage Collection one so I think this is the correct forum for it. I darent post the link again in case the post is deleted. Why would the Garbag ...Show All
Visual Studio The locals output screen
Hi, i use VS2005, and i see that in VS2003 there is a screen at the buttom of the program where the Task List and the Error when you build the program there is another windows that calls Locals and in this windows i can see what are the value that assign to my code. my question is where i can find it in VS2005 here is a link to see what i'm talking about. http://img69.imageshack.us/img69/6530/localscq3.jpg When you are debugging the program, you can toggle the window using the Debug menu->Windows->Locals. It may be hidden in a tab page in one of the window area. For example, the lower-left corner of this pic, there are 2 tab-pages (Locals and Watch1): http://www.wilcob.com/wilc ...Show All
.NET Development How do I publish a web with SQL 2005.
I am using VWD 2005 Express, with SQL 2005 Express. My web hosting company supports ASP 2.0 and SQL Server 2005, but have put SQL on a database server, which is separate from the application server. I successfully published a "Hello world" test application, but the database application failed after displaying the logon page, presumably when it first tried to connect to the database. VWD has created my database within the application folder ( app \App_Data\ASPNETDB.MDF) and created the configuration string in web.config: - < add name = " ConnectionString " connectionString = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True " provi ...Show All
SQL Server SQL Server Mgmt Studio (2005) on WM5 device (Cingular 8525)?
Can I run SQL Server 2005 Mgmt Studio on my WM5 device (Cingular 8525, a.k.a. HTC TyTn) to manipulate my MS SQL 2005 db on 2003 server box No, unfortunately you cannot run SQL Server Management Studio on your WM5 device. To see the prerequisites for SSMS, you can go to the SSMSE download page: http://www.microsoft.com/downloads/details.aspx FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&DisplayLang=en You have two options: 1) You can run a terminal services client on your mobile device and connect to a PC running Windows which has SSMS. 2) There are utilities available from 3rd party vendors that can run on mobile devices. The latest one I saw was ~$500-$800/server. Paul A. Mestemaker II Prog ...Show All
Windows Forms How to the whole install Rollback in custom installer?
Hi. I made custom install class in my install project which shows server login Form in Visual Studio 2005. In this form, users can also press "cancel" button in my custom Form. In that case, how can I rollback the whole install process Best Regards. John ...Show All
Windows Forms I cannot find control OleDbDataAdapter in the toolbox
Hi everybody! I want to acces to a database, so I followed the instructions in this webpage: http://support.microsoft.com/kb/821765/es # It says that first I have to create a data connection with my DataBase, and this works. And then it says that in the tool box, inside the Data place I should pick a control OleDbDataAdapter and put it in the form. The problem is that I don't have this Control. In the data place I just have Pointer Control, DataSet Control, DataGridView Control, BindingSource Control, BindingNavigator Control and ReportViewer Control. Any idea of what I'm doing wrong Thank you!! alba OleDbDataAdapter is not a control but rather a class/code that is a dataAdapter. ...Show All
SQL Server Moving RS 2005 Reports to new server
Hi Guru, Currently, we are running our RS 2005 reports on our old hardware and wanted to move them to better server where I’ll be building it tomorrow. On the existing server, we installed both database and reporting services running on the same box but I’m ONLY planning to install reporting service on the new server. What are the options to move RDL, shared data sources, shared schedules, jobs to the new server I heard people talked about backing up and restore both ReportServer and ReportServerTempdb databases to the new server would do it. How can I restore or attach these two dbs to new server when we don’t plan to install database services on it Please help! Thanks, Silaphet, ...Show All
Visual C# AssemblyInfo.cs
How do I add AssemblyInfo.cs in my web site project I tried creating new WEB SITE using visual web developer and VS.NET 2005. Thanks! A Web site doesn't really have that sort information (I'm assuming you want things like version, copyright, etc. when you say you want to add assemblyinfo.cs to your site...). Usually you create class libraries that are used by the site and those would contain that sort information. This type of question is related to ASP.NET and is best discussed on http://forums.asp.net/ ...Show All
Visual Basic Application Settings and ArrayList
I want to save some settings as an array in the application settings so I've created an application settings has a name Test and a type system.collections.arraylist I've used this code to save the settings to the application settings arraylist If Trim(TextBox1.Text) <> String .Empty Then My .Settings.Test.Add(TextBox1.Text) My .Settings.Save() End If but I've got an error Object reference not set to an instance of an object. when I execute the code ofcorse at the first run of the program the arraylist has no items in it can any one help me thank you all thank you it solves the problem but here comes a question just for understanding thing ...Show All
SQL Server Error 18452 (not associated with a trusted sql server connection)
Using sql2005 on a Novell network... When attempting to log into Mgt Studio using windows authentication I am getting the error: Error 18452 (not associated with a trusted sql server connection) . I added my domain\userName in sql with no problems and added the account to the sysadmin server role. However, I noticed my credentials on my pc are not listed as domain\userName but rather ComputerName\UserName. I think this is what is causing the problem but I am not sure. Can anyone lend a hand I'd appreciate any help, Thanks. Scott Have you checked if the other SQL Server machine is using mixed mode authentication If it does, try troubleshooting the SQL authentication using Management Studi ...Show All
Visual Basic label.text question
I want the user to be able able to click on one of many labels and call the "subA" method and the backcolor changes for just that label. I am just learning to reuse code and thought this might be good practice. This is what I tried but no luck. Thanks for help ------------------------------------------------------------------------------------------- Private Sub LblA_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles LblA.MouseClick Label1.Text = "LblA" Call subA() End Sub Public Sub subA() Dim a As String a = Label1.Text If a .BackColor = Color.Gainsboro Then a .BackColor = Color.PaleGreen Else : a .BackColor = Color.Gainsboro End If End S ...Show All
.NET Development Accessing ADO .Net DLL from C++ code
Hi, I want to access ADO .Net DLL from my java application. I have written a JNI wrapper dll in c++ that uses the ADO .Net DLL. When i run my java application i get an error for MSVCR80.dll Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Eclipse\iwayworks ace\meditech\meditech.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.iway.meditech.AccessMeditechLib.main(AccessMeditechLib.java:9) Do I need to register my ADO .Net Dll -Pragati ...Show All
