Maldini1010's Q&A profile
Visual Studio Express Editions Access.application throwing exception
I use the following code to open an instance of Access to do some table maintenance when my Windows Form application starts. The user is presented with an OpenFile dialog box and selects the database location, and this is written to settings and saved then, [ code]Dim ac As New Access.Application 'open access and load the standard database Try ac.OpenCurrentDatabase( My .Settings.dataLoc2) Catch ex As Exception MsgBox( "Please report " & ex.Message & "to the Author" , MsgBoxStyle.OkOnly) ac.Quit() ac = Nothing Me .Close() End Try[/code] The application runs perfectly fo ...Show All
Visual C++ Internet App
Hi I would like to create an application using Visual C++ to connect to the internet, then a web page, and then search the page and extract information. Trouble is I am fairly new to this and dont really know how to start, so hoping someone can point me in the right direction. Cheers Jon Check out MSDN. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnanchor/html/netfxanchor.asp Check out my website for software development links. http://www.dslextreme.com/users/kuphryn/links.html Kuphryn ...Show All
SQL Server High CPU utilization during full-text population in SQL 2005
Hi, In SQL 2005 a full-text population of a text field in a table containing 1.2 million records utilizes very high CPU resources. A dual Xeon 3Ghz, 1GB memory was running at 95% during the population of the full text catalog. There was no other activity on this server besides the full-text population. It performed the population in approximately 28 minutes, which is allot faster than SQL 2000, however, the high CPU utilization would be of great concern in a production environment. I have not tested incremental or change tracking as yet but i plan to look at this very soon. Is this unusual behaviour or does the SQL full-text ...Show All
Windows Forms FormView, SqlDataSource, ControlParameter "Oh my!"
Hey There, Having a bit of trouble connecting a ControlParameter to a Control that is inside of a FormView. I get the message "can't find control". My work around is a bit ugly. In the Inserting event ... I have to do a Page.FormView1.FindControl("control_name"). Do the cast, grab the value and stuff it into the standard "parameter" myself. I can't even do a Page.FindControl("control_name"); That doesn't find the control. I believe it should. At least that's what a bunch of us were told at a MSDN event. err ... sort of. What we were really told is that if there is a control on a Master ...Show All
SQL Server Right-hand side of report being cut off
Folks, On matrix reports, when viewed with IE through the ReportServer URL access page, Matrix reports are getting cut off on the right-hand side to the original size of the report. However, this corrects itself immediately if you toggle any item, or change the zoom level. What's really confusing is that most of our reports that have expanding functionality work just fine -- there's just a couple that don't. We have spent a couple days trying to figure out what's different with no luck. EDITED: navigating away from the page by typing another URL in the address bar, and then hitting ...Show All
SQL Server How can default schema change in stored procedure ?
Hello, How can default schema change in stored procedure For Example: There are two user 'User1', 'User2' in TestDb Database. These users default schema is same name, like 'User1's default schema is 'User1', and 'User2's default schme is 'User2'. And each users have 'Table1' table, like [User1].[Table1], [User2].[Table1] In this enviroment, query 'SELECT * FROM [Table1]' refer default schema of execute user. like 'User1' execute 'SELECT * FROM [User1].[Table1]'. But if dbo create a stored procedure below, default schema doesn't work. CREATE PROCEDURE SelectTable1 AS SET NOCOUNT ON SELECT * FROM Table1 GO When User1/Us ...Show All
Windows Forms Problems sorting the DataGridView
I am adding 20 columns to a DataGridView grid and setting the DataPropertyName so that it binds correctly. I am also setting the sorting to "automatic" for each column. When the grid first appears, the column headers appear. I can click on any column header and see the ascending/descending glif appear - but since there is no data in the grid - there is no sorting. However, as soon as I bind the grid to my data, my data appears in the grid but I can no longer click on the column headers for the sorting. Any idea what I may be missing here You datasource doesn’t support sorting then. When d ...Show All
Windows Search Technologies I can't type in the IE address bar
I can't type in the address bar of IE 6 anymore. I can access any site by using my favorites. Is there anybody can help me with this Hello Tulio, Is this a problem that came up after installing desktop search If so, could you please provide some additional information What version of Internet Explorer are you using Did you install any other software just before this happened What does the address bar look like Does it look normal or is it "disabled" (grayed out and locked). Thanks for the additional information. Paul Nystrom - MSFT ...Show All
Visual C# Access Web Form member from it’s hosted windows user control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind or set a web form’s member value. Does anybody know how to do that I would appreciate any suggestions! Thanks in advance! First off you need to define your interface. This is a simple interface declaring the events you will fire, and any properties/methods you will access from the web page. It needs to be visible to COM, so use the following as a template: [GuidAttribute("1F98211C-7A71-4588-8D4A-AD85CA80BAE7&q ...Show All
Visual Studio 2008 (Pre-release) OperationContracts and parameters
What are the use cases for the various ways of factoring interfaces using: intrinsic types, XSD complex types (classes), and data contracts For example, which is the “best practice” for the following: [OperationContract] void CreateUser(string username, string password); [OperationContract] void CreateUser(User user); [OperationContract] void CreateUser(CreateUserRequest createUserReqest); I’m used to the ASMX-style method signatures (the first example). However, most of the Indigo material pefers the latter (message-oriented) method. Can someone please explain the rationale for using one ...Show All
Visual Studio Express Editions Is it possible to store the CD image on my ipod?
can i burn .iso into my Ipod or i must have a CD-RW. You can store it on any media as long as you get it back to install from. The manual installation instructions cover how you can install by using isobuster, without having to burn the image to CD. Instructions are here http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All
.NET Development ODBC
I am a relative newbie to the ways of .NET. I have been learning to use Microsoft Visual C# .NET 2005 and have wrestled just about everything to the floor except for database access. I have an extensive survey data library with all the files in dBase IV format. As a long time Delphi programmer, this used to be a relatively straightforward piece of the jigsaw and I have written a number of successful applications that manipulate those files. I understand that what I need to do the same in the .NET environment is ODBC. I have gone round and round in circles on the MSDN sites trying to find the appropriate download. I am running Window ...Show All
Visual C# XmlDocument.load Security issue
I have been working this problem for over 2 weeks and have reached the end of my rope. I have written a web app (in VS2003 hosted on Windows 2003 server) that has an embedded object in one of the HTML pages. This object contains a method that calls the xmldocument.load method with a path that is on a mapped drive on the server. When this call is made I get the following error: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I have done some research and have found several suggestions on how to fix the ...Show All
Windows Forms How to Filter Date in BindingSource
Hello!!! I want to filter a BindingSource, that has a field named "DateField", by month. The values are of Date type. Example: All rows that was created in november. I tried the following code, in the BindingSource Filter Property... "month(datefield) = 11" ...but the filter property don't allow this function (month). Somebody can help me Thanks If the BindingSource is bound to a DataTable, then you can set the filter on the BindingSource. As a rule, BindingSource supports filtering based on its data source. You can use the BindingSource::SupportsFiltering method to determine that. For instance, paste the follow ...Show All
Visual C++ Floating Point Addition Problem
I have a sticky and weird problem. I have two C++ programs running under Visual Studio 2003. One program works correctly, the other has problems adding two double values. Take the following 3 simple test lines. double dTest1 = 0.00061234567890; double dTest2 = 3359.01234567890; double dTest3 = dTest1 + dTest2; Program that works, dTest3 = 3359.0129580245789 Program that doesn't work, dTest3 = 3359.0129394531250 Notes: 1 - The program that doesn't work may have come from the 16 bit world. 2 - I have checked the compiler and linker options between the 2 solutions and there isn't anything that is obviously different. 3 - I have turned ON the di ...Show All
