ashtangagirl's Q&A profile
Windows Live Developer Forums Where Do I Go To Get It?
Hi, I have just recently got an invite and i entered my email and password it then took me to a page saying; "Congratulations! You're in! Now all you need to do is download and sign in." With an Orange button saying 'DOWNLOAD' but its not clickable and i am not to sure where to go... So would anybody be able to direct me, i would be very greatful! Scott Hi in your e-mail editor it may be blocking links from displaying. can you move the message to your inbox if you are using outlook or the new Hotmail and mark the e-mail as trusted and it should work ...Show All
Visual FoxPro pulling data from one field and making a new column out of it
Hi all!!! I have two fields, work_id and sp_id. All sp_id's are related to the work_id's ie. work_id sp_id 1 000 3 000 3 111 5 111 9 000 9 111 i need the data to be listed by the work_id, then in another colum have it state whether it is one sp_id, the other sp_id or both sp_id work_id sp_id 1 000 3 both 5 111 9 both any insight life is short, but sweet!! Mike SELECT WORK_ID,MIN(SP_ID) AS SPID,COUNT(SP_ID) AS CNT; FROM TABLE; GROUP BY WORK_ID; INTO CURSOR TEMP SELECT TEMP SELECT WORK_ID,IIF(CNT>1,'BOTH',SPID) FROM TEMP ...Show All
Visual Studio How to create my own Refactor?
Such as Rename... I want to create a refactor with a similer function, How to do You will need to parse the source code within a project, generate a symbol table containing the symbols for the code, search through the symbol table for references to the item you want to rename (you cannot just do a general search, because the variable 'i' can be used in multiple places but not be the same 'i'), and then rename them. Craig ...Show All
Smart Device Development C++ and C#
Hi, I outsourced a C#-code to C++ for performance reasons. I put the code int a new C++ class libary source code, did some changes to meet the C++-rules and compiled it. I looked for CLR support in the compiler options, but I can't find them. Also adding /clr manually didn't solve the problem. Subsequently I can't import the DLL into my C#-application. Note, that the application is a Smart Device Application. /cls works fine on Desktop applications. But what can I do to Import the DLL written in C++ By now I used the DllImport Attribute, but then i get an Exception "Entry point not found". Thanks in advance! ...Show All
Smart Device Development Gracefully exit a blocking call in a thread (NETCF1.1)?
I am looking for a way to gracefully exit blocking calls such as UdpClient.Receive() if they never receive any data so that I can terminate the thread that they are running on. I am using the .NETCF & C#. Any ideas or insight would be greatly appreciated. Thanks. Solution: Derive a UDPClient class. Create a function that returns the raw socket. Use the Socket.Select to see if there's data there to read, then you don't have to force a block via Receive(). Hope this helps. ...Show All
Visual Studio 2008 (Pre-release) Hosting WCF Service in IIS ( X509 Keyset does not exist)
Hi, I host my service in IIS ( machine running XP ) and try it : http://localhost/RentSoftware/Rentsoftware.svc I receive this error : CryptographicException: Keyset does not exist System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) +1460764 System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) +55 System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() +79 System.Security.Cryptography.RSACryptoServi ...Show All
.NET Development to use the NetworkStream::Write() for synchronous sending!?
Hi ^, i would like to realise a synchronous communication using the NetworkStream::Write() method. In theoretically ("...The Write method blocks until the requested number of bytes is sent or a SocketException is thrown. ...") it is possible to use this function for synchron sending but in fact the Write() method doesn't send the data directly to the remote machine it puts the data into the outgoing network buffer of the PC so doesn't wait for the remote machine's answer. If the outgoing network buffer is full just in this case will be blocked the Write() function. I don't know how can i avoid this buffer or how can i set th ...Show All
Visual C# type safe way of getting propertyInfo
As the subject implies i'm looking for a way of getting some propertyinfo and also methodinfo without relying Type.GetProperties. What i would like is something like this: PropertyInfo pi = propertyof( MyType.Name ); With c#2 is there a way of doing this. If not will a way be added in the future... Regards Lee No, there is no type-safe way of getting property and method information. Your suggestion sounds interesting, try posting on the Microsoft Product Feedback Center . ...Show All
SQL Server IIF driving crazy
This is driving me crazy… =IIF(Fields!COUNTRY.Value = "United States","US", IIF(Fields!COUNTRY.Value = "UNITED STATES", "US", Fields!COUNTRY.Value)) Is that not correct =Iif(Fields!Country.Value = "United States", "US", Nothing) =Iif(Fields!COUNTRY.Value = "United States", "US") =Iif(Fields!COUNTRY.Value, "misb_db_prp1" = "United States", "US", Fields!COUNTRY.Value, "misb_db_prp1") =Iif(Fields!COUNTRY.Value = "United States","US", Fields!Country) Can you please correct w ...Show All
.NET Development XML??
I have this excel spreadsheet saved as an XML file...Is there a way i can incorporate this file with my VB.net application and if so can i have a link to show me how to get it dont thanks < xml version="1.0" > < mso-application progid="Excel.Sheet" > <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html=" http://www.w3.org/TR/REC-html40 "> <DocumentProperties xml ...Show All
Windows Forms Capturing MouseWheel Event - Different mouse, different behavior
Hi, I'm actually using Managed C++ within VC++ 2005. I tried to add handling of mousewheel. I've put following code: 1. EventHandler: this->WA_TbPgDrw->MouseWheel += new System::Windows::Forms::MouseEventHandler(this, &Form1::Analyse_MouseWheel); 2. Routine for Handling event: private: System::Void Analyse_MouseWheel(System::Object* sender, System::Windows::Forms::MouseEventArgs* e) { if(WA_TabCntrl->SelectedIndex == 0) // Onglet Design { if(e->Delta > 0) { if(ZoomAffVal < 100) ZoomValue = ZoomAffVal + 1; } else { if(ZoomAffVal > 50) ZoomValue = ZoomAffVal - 1; } if(Modules_Hors_Lim ...Show All
.NET Development Is this possible and if so, how?
Is it possible to create an unbound dataset in VS/VB .NET 2003 that creates the following XML output <Group> <Item>1</Item> <Attribute1>07</Attribute1> <Item>2</Item> <Attribute1>14</Attribute1> </Group> We had it setup to create an XML file like this: <Group> <ItemElement> ...Show All
Visual Basic Disabling the close button of a windows application has a problem
When I tried to disable the close button of my Windows Application program using an unmanaged code, this red close button will appear again if I maximized, minimized it , or using Win(key) + D (and again) I don't know why... I can delete the Close menu item, but rather, I wanna disable it. So, if you please find the solution, thanks... Set the forms controlbox property to false...this will get rid of the minimize, maximize and close buttons in the upper right hand corner of the window HTH ...Show All
Visual Studio Express Editions Create an extension virtual drive.
Hi, I am trying to make my own app that will allow user to create thier own virtual drive. does anyone have any clue on how to start To create a fake drive you probably need to write a device driver. That's not something you do in C# or any other managed language. ...Show All
Windows Forms Is FotoVision an ongoing development project?
Hi rarvesen, look like you are the moderator of this forums. I love your webpage. They look very nice and informational (I like those flower pictures). Anyway, I would like to ask is FotoVision is an ongoing project Any enhancement will be provided in the future I think it will be a very good idea if there is a specific site& ...Show All
