GabrieleN's Q&A profile
Visual Basic Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael I was told by two different Microsoft employees that Visual Studio 2005 Express Edition was the right version of Visual Studio 2005 for me to use for all of my needs including access to ODBC and MySQL data. They emailed me a link with a comparison of all of the different variations and features of the different versions of Visual Studio 2005. I am trying to remember now, but I think it included a chart with bullets or check marks and comment ...Show All
Visual Basic Entering Date Field
What is the best way to enter (edit) a date field in a windows form I am trying to use maskededit for date field but its giving me problems in saving and retreiving from the table. BTW, masked edit is working fine for string fields like telephone number, NSSF number. The problem arises in the format of date storage in MSDE - US date format. For example, the 1st of March 2008 is being stored as 03/01/2008. Is there a way to change this to match the format (01/03/08) that I use in for data entry Or, is there an alternative way to handle fast entry of date fields A DatePickerControl is the best way to go, then you get a drop ...Show All
Visual C++ Control Bracket Formatting
I'm sure this has been asked numerous times, but it is a hard thing to search for. Anyways, I am using Visual C++ 2005 Express Edition and it writes code like this: if () { statement; } I want it to write code like this: if () { statement; } How do I do this Thanks a bunch. According to my knowledge, I don't believe there is a current way of doing that. Please feel free to log a suggestion issue at: http://lab.msdn.microsoft.com/productfeedback/default.aspx Thanks in advance in taking the time to log your suggestion! Thanks, &nbs ...Show All
Visual Studio Express Editions Running a console application inside a windows app.
I have a windows forms application that I am writing, and a second console application that someone else wrote. I'd like to be able to run the console application in my windows application. An example of what I mean: http://www.winterboard.com/example.jpg I'd also settle for a way to start the console application hidden and then just redirect the output to that area. Is this possible Any ideas Thanks in advance, - Danielle Hi, Is it a console application also created in .Net and given that you have the source code If its not, then you could use the System.Diagnostics.Process.Start() to execute your console ...Show All
Windows Search Technologies Installation Problems with your product
ok, so i decided to install your desktop search (WDS) thing. all good, it installs. think it is MSN Search Toolbar with Windows Desktop Search . so, i go for coffee and i feel brave and decide to install you latest beta. this is Windows Desktop Search 2.6.5 beta (KB911993) and guess what......... It un installs MSN Search Toolbar with Windows Desktop Search and the tries to install the beta and fails with error about Update.inf file. Full error message is: Setup could not verify the integrity of the file Update.inf. Make sure the Cryptographic service is running on this computer. And now I ask you: "&quo ...Show All
Visual Studio Changing default behaviour of GenerateResource
Hi, The strongly typed resource class that's automatically generated by the designer from the .resx file results a in a class that's internal, whereas I'd like it to be public. The background to this is in a message I posted earlier today: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=187755&SiteID=1 It seems the problem should be solvable by customizing the build process somehow. This is what I've tried so far: 1) Modified GenerateResource task in the Microsoft.Common.Targets file so that PublicClass="true". Doesn't work--generated class is still internal. 2) Changed the Build Action of the ...Show All
Visual Studio Express Editions Problems Connecting To An Access Database
Hello All, I am having some problems connecting to an Access Database and I have NO idea what could be wrong with my connection string. Would someone be kind enough to explain what is going on here please The database is an Access 2003 Database saved in Access 2000 format. I am using the connection builder to help format my connection string correctly. It is a secure database using an MDW file called Accounting.mdw. I can log on to the database from Access with my user ID and password just fine, no problem. I have included my code and the connection string built by the connection builder. The error I receive is "Could Not Find Insta ...Show All
.NET Development Resolving Types during object de-serialization
Hi guys, I have a problem getting the right type during de-seialization using the BinaryFormatter. In my Application I have two exactly same assembly-dlls with type definitions. The dlls were created dynamically. (I need this copy, to edit the one assembly, while the other is loaded in my AppDomain (Assembly.LoadFrom(...))). These assemblies are located in different directories, one in my application directory, the other somewhere else. Now, I get trouble in the further processing if the application use the type definitions in the one assembly and the BinaryFormatter uses the other assembly dll (this one in my application directory). So is t ...Show All
Visual FoxPro Create a Directory
How can i create a directory when the app begins but validating if the directory exists avoiding an error code thanks a lot! Hi Eric, found it. MD fails to create a directory of more than one level, when the parent directory is either hidden or a system directory: Md (Addbs(GetEnv("APPDATA"))+Sys(2015)+"\"+Sys(2015)) Creating the directory one level at a time works, though. ...Show All
SQL Server Passing rc:Toolbar=False in URL causes report to render incorrectly
I have a report that just displays different status images based on some data. I use an expression to choose an embedded image in the image property of the image. This report needs to be displayed in Sharepoint. I have tried using the report viewer web part, a page viewer web part, and a content editor web part, but whenever I try to view the report without a toolbar, none of the images are displayed. I pinned this down to the rc:Toobar=False parameter. How can I display a report without the toolbar Is this a known bug that is being worked on Thanks, Scott Does the report behave as expected out ...Show All
Windows Forms How to use MsgBox in c# for a class library
Is this possible In this exemple: http://msdn2.microsoft.com/en-us/library/9cdb5eda(VS.80).aspx they are using MsgBox which is in Microsoft.VisualBasic namespace. However, I can't use it in c#. Because I don't have a windows program, I can't use the MessageBox as well because I don't have access to System.Windows namespaces. Is it possible to have a messagebox in C# If so, how ! thanks. Hi, the message box is located at: System.Windows.Forms, to use it just do: System.Windows.Forms.MessageBox.Show("Test"); don't forget to include the System.Windows.Forms reference in your project. ...Show All
Smart Device Development How do I disable bluetooth and wireless via REGEDIT?
For security, I have to disable bluetooth and wireless in pocket PC of our employee, and I have to via REGEDIT. How do I disable bluetooth via REGEDIT and how do I disable wireless via REGEDIT Thank you. I need a help with another device.... I would like disable a CF card by register, it's possible to do in a Pocket PC device ...Show All
Visual Basic VisualStudio 2005 BUG
Am developing a forms app using vs2005. All going fine till decided to publish via ClickOnce…. Having published to ClickOnce, now every time I try to debug (F5) the app after doing a code change or opening up the Publishing Project Properties, get “The operation could not be completed. The process cannot access the file because it is being used by another process” Try again – then get “Visual Studio could not copy a support file to this location: Q:\Development\Visual Studio 2005\Projects\projectname\projectname\bin\Debug\projectname.vshost.exe. Please verify the path exists and is writeable”. (projectname changed to protec ...Show All
Windows Forms Solved: "The value violates the MaxLength limit of this column"
C#, VS Pro 2005, Windows app with a datagridview: Simple form with 5 fields. The database is empty. The field that generates this error is formatted varchar, length of 6. The field is the second on the form, and is the only field complained about. Tried both a combobox lookup table and typing values into the table (textbox). Same error. This has stalled me for several hours. I tried printing out a message box with the cells data, but cannot get anything to print (no data in box). Thanks G. PS No offense - but do any MS staff look over this forum, 'cause my posts aren't getting any responses ...Show All
SQL Server Filtering Top n on Group or Table
Hopefully someone can help. I am trying to filter either my group or the whole table to return the top 5 lines of my data. If I use Topn (Fieldname) = 5 in my filter for the group, it returns merely the total of the table and hides all the detail. If I use the same filter in the table filter, only the table header is returned. I have rather a complex formula based on parameters to calculate the field I want to show the top 5 of. e.g. If parameter equals 2 then add balance_period_1 to balance_period_2. This formula works perfectly if I remove the top5 filter. See detailed expression below The expression is Topn(iif(Parameter ...Show All
