HedleySohn's Q&A profile
Smart Device Development smart device project creation failed!
Hi all, I'm using VS2005 Team Edition and WM5 Smartphone SDK. The problem is I cannot create any smart device project, but I can open existing solutions. I've reinstalled the SDK and ActiveSync, But the problem still exist. So how to solve this kind of problem Thanks doyoucy Thanks, Gangadhar I'm using Windows XP Pro SP2. I belive that my problem is due to the previous installation of VS rc1, I reinstalled the VS2005, but it doesn't work. I wonder if there is some folder or registry value I should delete and regenerate it. ...Show All
Visual Studio Express Editions Delegate, Invoke/beginInvoke. How it works.
Could anybody please tell me exactly what is going on with delegates and Invoke/BeginInvoke. It is easy to make these functions work, but the explanations in the help files are so cryptically, that you may question whether the author of the help files actually knows what is going on! According to the help files, BeginInvoke executes a delegate asynchronously on the thread that the control's underlying handle was created on! I have been working with microcomputers since Intel 4004 and used multitasking when Microsoft was still in the DOS days, but this explanation is simply too cryptically. First of all, as I understand it, a delegate is a type-safe pointer, but a pointer is not executed - at least not in my terms. Subroutines are execut ...Show All
SQL Server Problem with multi-valued parameters since SP1
Hi, after the installation of SP1 I have a problem with multi-valued report parameters. The option to select all values are gone. Is there a bug within SP1 Before the installtion of SP1 multi-valued report parameters works fine, the option to select all values was added automatically within the preview in Visual Studio 2005 and in published reports on the server. The server was migrated from SQL2000 SP4 to SQL2005. So long Lemmi I'm sorry but this simulation of the "All" element is garbage! With all due respect this borders on condescending....yeah I could write a report in ASP.NET too but hey I have Reporting Services for that right This is not a solution. Msoft put this option BA ...Show All
Visual Studio 2008 (Pre-release) Whether class library can be as the service's client?
Hi I have a project which contains four levels: WebUI, Proxy,Host,Service, the Host project is hosted in IIS, the Proxy project is class library type which will generates client proxy class by adding service reference. the WebUI will call the method in Proxy project, now it will throw exception , Whether the class library type can not be as service's client. Thanks, Zhihao Hello Zhihao, What is the exception you are seeing Could you also enable tracing and check whether there is anything in the log that might be relevant Regards, David ...Show All
SQL Server Owner for jobs(Sql2k)
I’m looking for the owner of our scheduled jobs but I can’t work out; Sysjobsteps, sysjobs, sysjobschedules Sysjobservers, etc.. and neither of them I’ve been able to find this value. I saw owner_sid in hexadecimal notation, nothing else. Does this search make any sense otherwise sql encrypt this data Where this data stored is Thanks for any comment or though, ...Show All
Visual C++ MessageBox not displaying japanese text
- chinese text installed on machine - Studio 2003/2005 - properties/general/charecter set -> Use Unicode Charecter set - properties/c/c++/Preprocessor Definitions -> _UNICODE;UNICODE - create d a sample c== console application - wchar_t test[2]= {0x3053,0}; - MessageBox(NULL,test,TEXT("Note"),MB_OK); - displays right text - wchar_t test[] = _T("how are you in japanaese"); - MessageBox(NULL,test,TEXT("Note"),MB_OK); -displays why would specifying vaues from unicode table work but not a text. any thoughts Thanks Hello Re: MessageBox not displaying japanese text Sorry, ...Show All
Visual Studio Express Editions MDI Closing RCW Error
This one has got me completely stumped !! I've got a MDI window with mulitple forms inside, as a merged menu item I have Close window (on the Child) that appears in the MDI forms file menu list (this all works 100%). Now, if I click the close menu it fires the event handler in the child forms menu handler and executes a simple Close.Me function (that also works 100%). So what's the problem Okay, I want to spice up the menu a bit so I've put a shortcut key in there too, but if I press the shortcut key I get an RCW error: RaceOnRCWCleanup was detected Message: An attempt has been made to free an RCW that is in use. The RCW is in use on the active thread or another thread. Attempting to free an in-use RCW can cause corruption or data ...Show All
.NET Development Find Method
Hi, Can someone give me an example of the BindingSource.Find Method I have tables with 2 and in some case 3 fields defining the table key. I cannot find any example on how to look for a row this way!!! Is it possible All the examples refer just one filed to look for.... Thanks, Pedro From http://msdn2.microsoft.com/en-us/library/f6dh4x2h.aspx private void FindInMultiPKey(DataTable table) { // Create an array for the key values to find. object[]findTheseVals = new object[3]; // Set the values of the keys to find. findTheseVals[0] = "John"; findTheseVals[1] = "Smith"; findTheseVals[2] = "5 Main St."; DataRow foundRow = table.Rows.Find(findTheseVal ...Show All
Windows Forms Copy all data from Datagridview into a new datatable
Hi, I was wondering if any have done this before. What I need to do is, copy all the data from a Datagridview into a datatable. Please reply back if you can help. Thank you. Rick.. Hi, TommyGL Here I write a sample code for your information. Assume that I load some data from the database to DataGridView, them add an extra column to the DataGridView, do some calculation to assign value to this column while handling the CellValueNeeded event, by the way, to mix a DataGridView with bound and unbound column, it's recommended to set the DataGridView's VirtualMode to True . using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawi ...Show All
Microsoft ISV Community Center Forums using dll file
I have created a dll file using VB.net. And I want to use the function of the dll file in VBA. How can I do it Thank you Hi All, I have a question. what is the cause of the error " File or assembly name, or one of its dependencies, was not found" Thank you ...Show All
Visual Studio Express Editions simple string question
hi, i want to storage in string a all ASCII chars but i cant : Dim mystr As String = Chr(1) After this line mystr doesnt contains anything. Is there way to storage a zero ASCII char in a string good to know that every character in string gets 16 bits... @ nobugz: i know that not every char has a readable "glyph" - its hard to visualize enter -chr(13) or tab - chr(9), but i had problems with Chr(0) (not with Chr(1) like i write in first post - my bad) debbuger doesnt shows enything. Now i know that the best way with working with binary files is to use a byte arrays - string is too "big" :) thanks for all help ...Show All
Visual Basic help finding program
im getting an error loading message and i need help finding the file that my computer cant find I would guess that this is a duplicate of the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=810203&SiteID=1 In which case this problem isn't even related to a development or .NET issue. ...Show All
Windows Live Developer Forums Using Contacts Control in a single page
Great control guys, I think it's awesome. Would it be possible to host the control and relevant pop-up windows on a same page Maybe with divs etc Any such samples Thanks Riaan London Riaanvs wrote: Great control guys, I think it's awesome. Would it be possible to host the control and relevant pop-up windows on a same page Maybe with divs etc Any such samples Hi Riaan, As much as I'd love to get rid of the popup windows, it's highly unlikely that they will go away. The popup windows provide a critical element of identity verification to the end user about who is responsible for the information shown. Placing the confirmation display inside an element of the same page provides no indication of where that information co ...Show All
SQL Server the subscription has been marked inactive
hi all, i have a snapshot replication running on multiple publisher singel subscriber running on sql2k. i'm frequently encountering these error. the subscription has been marked inactive and must be reinitialized. no synch i've set the subcription to never expire in the publications property tab. thanks You can also refer to SQL Server Books Online topic: " Subscription Expiration and Deactivation" available at: Local SQL Server machine: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rpldata9/html/4d03f5ab-e721-4f56-aebc-60f6a56c1e07.htm Or MSDN Online: http://msdn2.microsoft.com/en-us/library/ms151188.aspx Thanks, Zhiqiang Feng This posting is provided "AS IS" with no warranties, and ...Show All
Visual Studio Express Editions visual basic express problems
what is the code to update a database, the code i use tells me an error ahmedilyas wrote: Thanks BortNE24, your help is also appreciated always. lol, thanks for the vote of confidence Ahmed Still, I'm a bit of a noob compared to you, and many of the answers (if not all) have not been correct, so I'll guess you're just being polite. ...Show All
