Jivko Dobrev - MSFT's Q&A profile
Smart Device Development Serial Ports and PPC
Hi, I am currently porting a simple piece of win32 code to PPC 2003 using VS2005. I have trouble openening up a serial comport. In the code I am using on PC, I am using CreateFile for opening COM ports. Is it not possible to use that on a PPC device . I keep getting an invalid handle back. When running the application on target. I have been looking in the past threads on this issue, and all those seems to suggest using .NET is the way forward.. Being a newbie that is abit much to start looking into just to get a simple comport to work... Could anyone please give me some hints on this one Many thanks in advance, ...Show All
.NET Development Web Services on Windows Server 2003
Hello, I’m new using webservices... I created a web service in VS 2005. then I published the web service, created a Virtual Directory and add references to my web service "http://localhost/WS/Service.asmx". Everything went well...., this was in a computer with windows xp professional then I tried to do the same thing in a computer with Windows Server 2003. and nothing is working. Even I’ve tried to using th basic Web Service (Hello World), and I cant make it work I publish the Webservice to the virtual directory and thn tried to reference it in the same way i did it before. "http://localhost/WS/Service.asmx" , but I alw ...Show All
.NET Development Jet 4.0 Service Pack 8 for x64 bit XP Pro. Is it available?
Hey guys, just wondering, is there a Jet 4.0 SP8 install available for XP x64. because i tried to install the x86 and it didnt work. no suprises there. Hi there, I believe that it is actually bundled in this download: http://www.microsoft.com/downloads/details.aspx familyid=E4E0EB80-7395-4C07-BC1D-B187DE541BC2&displaylang=en If not that download, then perhaps you could also try this one (I'm not too familiar with 64-bit XP, but the above link is for XP 64-bit 2003 Edition while the one I'm giving just below is for XP 64-bit SP1): http://www.microsoft.com/downloads/details.aspx FamilyId=B487610D-806C-42 ...Show All
Visual C++ notification message from CSliderCtrl when starting to drag
Hi all, in my application, I have a CSliderCtrl and also one timer. at the timer event, I read the values from an instrument, and refresh the interface, also the CSliderCtrl. For some users, the interval of the timer is too short to change the value before it is refreshed. I want to kill the timer when the user starts dragging the slider and agin start it after he stops. right now I process the NM_REALEASEDCAPTURE message for getting the values from the slider. I did not find any NM_LBUTTONDOWN or so notification. can anybody tell me the correct message to process . thanks, Hardik ...Show All
Visual C# new features
whate is the new features in C# 3 I assume you know Linq already since you had an "installation" problem. Furthermore I assume that you do realize that Linq isn't just one feature but plenty of new features under one name. ...Show All
SQL Server Difference between Where and Join
Hi all, i've a little question, I 've this 2 sentences select m.id from F, A, M where F.Id=A.Fa And F.IdE=A.IdE And M.IdItem=A.Id and M.IdE=A.IdE And F.IdE=7 AND F.Id=44387 Select m.idnumero from F Left Join ( A Left Join M ON (A.IdE=M.IdE) AND (A.Id=M.IdItem) )ON (F.IdE=A.IdE) AND (F.Id=A.Fa) Where F.IdE=7 AND F.Id=44387 F=50.000 Regs A=150.000 Regs M=1.100.000 Regs First sentence takes the data in 1 sec or less but second takes too long to retrieve the data (15 sec. or more), Why Note: Tables A and M have triggers for insert, update and delete. I noticed some perf boost removing the triggers... ...Show All
SQL Server Using UI in Data Flow like in Control Flow
Hi there, any suggestion on how I can use my own Controls in a Data Flow Task I use this feature in Control Flow... THX Fridtjof Not quite sure what you are asking, but yes you can write your own Data Flow components, and they can have custom UIs. They can also have your own Windows controls as part of those UIs. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Scene data
Hi, Does anyone have any tips on how to run through scene-data. I've noticed that the data has to be 'tree-like' because you have objects, groups of objects and groups within groups. For example, if I have the text - 'This' in my 3d scene, all the letter objects are in a group (with a common origin), and the 2 parts that make the 'i' are in a group that is within the group. I had a good idea of writing a function which runs through the data, and when it comes across a group of objects - it calls itself . This works well with tree-like data. However, I'm not sure if the processing that goes on when a dynamic function ...Show All
Windows Forms Export to Excel from Datagrid?
Hey everyone, this is my first post here, so I'll get right to the point. I need to determine the best way to export data in a datagrid or dataset from a VB.NET Windows Form application directly into Excel. I was able to find reasonable ways using Webforms, however have not found any except using the clipboard which is not practical in my case.&nb ...Show All
SQL Server Optimizing LIKE OR Selects
I'm having problems optimizing a sql select statement that uses a LIKE statement coupled with an OR clause. For simplicity sake, I'll demonstrate this with a scaled down example: table Company, fields CompanyID, CompanyName table Address, fields AddressID, AddressName table CompanyAddressAssoc, fields AssocID, CompanyID, AddressID CompanyAddressAssoc is the many-to-many associative table for Company and Address. A search query is required that, given a search string ( i.e. 'TEST' ), return all Company -> Address records where either the CompanyName or AddressName starts with the parameter: Select c.CompanyID, c.Comp ...Show All
Smart Device Development Enterprise Mobile Apps: J#, C# or Java?
Hello sirs., First of all, sorry for my English, I'm brazilian. I am a PHP programmer from about 6 years and last year I founded a company (Auriumsoft LTDA - www.auriumsoft.com.br ) focused to develop Mobile App. The fact is that I'm lost of what language and plataform to choose. I even thought in choosing C++, but I have a lot of hurry, so this is impossible. What do I want to do - Develop enterprise mobile applications for Pocket PC, its desktop connection and transfer software, and web interface for generating reports, etc. - Develop end-user app. for new generation Windows. - AND NOT SO MUCH IMPORTANT: Have security if a clien ...Show All
Visual C# Difference Between Microsoft Performance Monitor and Performance Counter
Dear all, I would like to ask the main difference of using the Microsoft Windows Performance Monitor and Performance Counter in .Net Framework. The main reason of asking this is the issues or objects embedded in the Monitor is the same as those in .Net Framework. If the results obtained is the same, what is the purpose of issuing Performance Counter class Thanks for your help The performance monitor reads WMI counters ... the performance counters in .NET can either write to or read from those counters. The reason you would want to use this is so you can publish application specific counter informat ...Show All
Windows Forms datagrid as a data entry form
how to use datagrid as a data entry form in visual basic .net windows forms, pls help ...Show All
Visual Studio 2008 (Pre-release) Hex color to color string
hello, i have a hexadecimal code which i want to convert to equivalent color string. how can i convert it please help me. for example: i have a hexa code like "#00FFAA77" and i want the equivalent ...Show All
Visual Basic KeyEvent Questions
I know how to get the key event of the application that I am working on, but how do I use the keyevent classes to capture general keystrokes For instance, if I want to mask a textbox to only allow numbers (I use VB.NET 2003), then I would monitor the keyevents for that specific textbox. What do I do if I want to mask a key or several keys for an entire program Would I have to put a mask everywhere or is there an easier way to do this. If you must know what this is for, then here is the skinny. My friend and I are what you would call pranksters. He just wrote this program and slipped it on my machine that made my mouse control go completel ...Show All
