alevy's Q&A profile
Visual Studio 2008 (Pre-release) MouseBinding - CommandParameter - DataContext
Hi All, Since the Command property in MouseBinding is not a DP, I created a static command for this property. Something like: <MouseBinding Command={x:Static local:ViewModel.MyCommand} .../> In this case, because MyCommand is static, so I need to pass something to the CommandParameter, do you know any easy way that I can pass the data context of the parent container to CommandParameter (CommandParameter is not a DP either) Thanks VS Any idea, or they should be changed to DPs in the future as Johann MacDonagh posted this as a bug http://forums.microsoft.com/MSDN/ShowPost.aspx PostI ...Show All
Visual Studio Express Editions Form inside form
I'm a new in vb.net, can anyone tell me how to create a new form inside form. Hi, FYI: If you think that your post is answered then could you please click on "Mark as Answer" to mark it as answered. Thank you, Bhanu. ...Show All
Visual Studio 2008 (Pre-release) Security seting problems on installing May CTP of LINQ
Hello, I've try to install the May CTP of LINQ but here is the error I get: http://morpheus.developpez.com/temp/error.jpg Anyone knows why I get this error Thanks I also got an error installing the May CPT of LINQ Microsoft .NET LINQ Preview (May 2006) An error ocurred while applying security settings. Users is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click Retry, or Cancel to end the install. Try Again Cancel I found the cause of the problem. My Windows is in spanish and t ...Show All
Visual Studio Express Editions Can i include MySql to the IDE?
Hey folks I tried the whole week to get my MySql Database going with the VS Express 2005. Is there a way to Connect via Data -> Add Data Source, where i can select Database, and then some kind of MySQL Driver I only have MS Access Files, and MS SQL Server Connection, there's no other Data Provider. Where's the Point to tell the IDE of a new DataProvider I have the MySql .NET Driver installed... I can add "MySqlConnection", "MySqlCommand" and "MySqlDataAdapter" to the Toolbox... but then i hang on :( It's so nice, simple and Fast, all that DataDesigerStuff and so on...can I manage it to have this going with M ...Show All
SQL Server Overlapping Header for Table
Two table are set up in report. First table carries dynamic header and the second table carries data. When my report is generated and go to the second page my first table which is carring header does not appear, I only see the data from the second table. I think my second table is overlapping my first table. I have set up the properties on the first and the second table to repeat headers = true. Can you please help Thanks. ...Show All
Visual Studio Tools for Office Outlook blocked my script help
hello all i am developing an outlook addin and while executing him an error occured, the outlook asked me if i want to block my script in the future and i accedantily clicked yes.... now when i run my add in i cannot see the addin in the outlook screen, what can i do to restore my add in...... Please this is driving me crazy Itzik You mention a Script being blocked, this is not an Addin if the above doesn't help can you post more details please as to the error message you recieved. Regards ...Show All
Visual Studio Team System [Load Test:Performance Counters] Response Time Unit?
Hi, I am struggeling with figuring out in what unit the response time is measured in load tests Does a figure, such as 0.014 mean 14 milliseconds/seconds/etc If you could even point me at some docmentation for that, that would be great. (Note: I already looked at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnpag/html/scalenetchapt15.asp and http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconPerformanceCountersForASPNET.asp and various others but non of them could provide me with an answer.) Thanks a lot for your help. Regards, Sommarafton Thank you a lot fo ...Show All
SQL Server DBCC SHRINKDATABASE
Has anyone used the "DBCC SHRINKDATABASE " in a VB.NET project to shrink a DB. If YES, Please, if you dont mind, paste the code in this forum. Tnx Just call it from a command object and it will work. This is from memory so double check the syntax, you will need to add exception handling. Imports System.Data.SqlClient Dim conn as New SqlConnection(<connection string goes here>) Dim cmd as New SqlCommand cmd.connection = conn cmd.commandtext = "use master" cmd.executenonquery cmd.commandtext = "shrink database northwind" cmd.executenonquery conn.close( ...Show All
Windows Forms Spider a Web Page
I have windows application i need when a user enter a url in the textbox in form and click Go Button, to go to the site, spider all the available web pages ...Show All
SQL Server Microsoft OLE DB Provider for DB2
The Microsoft OLE DB Provider for DB2 can be downloaded as a part of the SQL Server 2005 Feature Pack located at: http://www.microsoft.com/downloads/details.aspx familyid=D09C1D60-A13C-4479-9B91-9E8B9D835CDC&displaylang=en Well, i guess that I have written as specific as possible in the above. The next would be a private hands-on demo for you if needed. As another thought - I would encourage you to try to download an EVALUATION version of Host Integration Server 2004 to replace DB2OLEDB from the feature pack. Give it a shot to see if DB2OLEDB from HIS 2004 works out. You can find HIS 2004 from Microsoft's website. - St ...Show All
Visual FoxPro my SQL passthrough problem
Good day to all, could i ask where i got wrong with this code , because when i run the .prg for this code, at first try it won't work, then the second time around it works, as if no error. Like when you open VFP, then at the command window you execute the do command, it won't work, but at the second or 3rd try it works. Please help...thanks in advance LOCAL lcConnect STORE 0 TO lcConnect STORE SQLCONNECT ('My SQL Server Connection','' ) TO lcConnect && to determine if u r connected to the proper server. IF lcConnect <= 0 && if you can't connect to the specified server then exit. = MESS ...Show All
Visual C++ How to access web page files using C++
Hi all, I have a list of web pages that I need to pull certain numbers from and will need to do it frequently, thus a program that has the list of address to pull the data from will make my life easier. Can you access web pages like you would to access files on your computer using the fstream library. The idea is to then parse through and find the certain tag, for example: I need to find the living area of a home on the site, I would like to open up the file, in this case and .asp. Then I would read in each line and look for what I need, in the case I would look for: &nb ...Show All
SQL Server SQL Server error '80040e14' (The server encountered a stack overflow during compile time. )
I am getting the above error when selecting the largest amounts of data on a database that i am currently working on. On occasion, I also get a "Timeout" Error that seems to present itself intermittently. Any suggestinons on eliminating it Thanks so much! "travelerkgd" Microsoft OLE DB Provider for SQL Server error '80040e14' The server encountered a stack overflow during compile time. The stack overflow error is coming from the database, not from SRS. Usually it is an indication that your query is too complex. Unfortunately, in most cases like this there is not too ...Show All
Windows Forms Designer keeps writing bad code for datagridview after I fix it
This is the oddest thing. I added a datagridview in a windows form and have been working with it when suddenly it acted like the datagridview wasn't there for purposes of interacting with it. I look in the designer.vb and I see that in the initializecomponent it has the following line: Dim gridcharacters As System.Windows.Forms.DataGridView I delete it, move it to the bottom and change it like so. Friend WithEvents gridcharacters As System.Windows.Forms.DataGridView Ok, it compiled fine, works great. As soon as I change anything in the designer, it changes it back. So now every time I build and run the application, I h ...Show All
Smart Device Development Problem building DLL project with VS 2005
Hi. I had a fairly large project that I was developing with eVC++ (SP3). I used the handy conversion wizard to upgrade to VS 2005, and, for the most part, it worked nicely, with the exception of a few minor tweaks in the settings. However, I'm having a consistent problem that I can't seem to find any good advice on. Whenever I try to build, I get two errors (though the second is dependent on the first): error LNK2005: DllMain already defined in corelibc.lib(dllmain.obj) fatal error LNK1169: one or more multiply defined symbols found This project built before the upgrade, so I'm assuming this is a setup issue. Does anyone have some good ...Show All
