Michael Weed's Q&A profile
Windows Forms Data Synchronization
Dear all, After I updated the same task in the pocketpc and the desktop, the data synchronization process will hang-up. Anyone encounter same problem with me I am using VS .Net 2003 and PPC 2003. Thanks, Billy Hi to all! It just happens that i stumbled accross this problem. After a little investigation this is what i could come up with: 1. Updating the& ...Show All
Architecture MIIS export to SQL Server 2000
I am trying to manage user information between Active Directory and SQL Server 2000, both on the same computer, using MIIS. I have successfully imported (staged and sync'd) information between Active Directory and MIIS, and between SQL Server 2000 and MIIS. I verified that all imported user information is existent in the MIIS metaverse. The issue I am having is when I try to import new users from the MIIS metaverse to my SQL Server 2000 database. I believe that I have mapped attributes for export correctly, and have set up my SQL connection and user correctly. I can successfully log into SQL Query Analyzer with that same user and perfo ...Show All
Visual Studio Tools for Office [C#-Word] set page orientation
hope this is the right forum ;) my programm - an exe is reading data from an xml-file that contains several pdf-files it inserts a heading then it inserts the pdf with InlineShapes.AddOLEObject now i have to look what kind of page orientation the pdf has and set the right one, for the page it was inserted into -> here is the problem i can't really define the range that has to be set it always changes for the whole document ... code looks like this: ...loop over this code with the pdfs: >>>>>>>>>>>>>>> rng = doc.Bookmarks.get_Item(ref oEndOfDoc).Range; rng.InsertAfter(scaption); rn ...Show All
Windows Forms InputBox- simple text input without requiring a whole new form!
hi, remember VB's InputBox function which prompted the user for a string how come we don't get this with .NET designing a whole new form seems like overkill. somebody tell me i'm missing something :) thanks tim Fons Sonnemans at Reflection IT has created a nice, easy-to-use C# version of the InputBox that's available as a free download: ht ...Show All
Windows Forms png images
cool application. Is it possible to save the images as png images instead of jpg Thanks The code that saves the jpeg image is in the <b>SavePhoto</b> method of the <b>upload\Publish</b> class. This calls <b>JpegQuality.Save(path, image, _quality)</b>, you can replace that call with <b>image.Save(path, Imaging.ImageFormat.Png)</b> to save to the ...Show All
Smart Device Development Windows CE5.0: unable to hide command bar!!!
I developed an application for critical healthcare that must run in fullscreen mode. Now I'm trying to migrate to Windows CE 5.0, but I can't hide the bottom bar (command or menu bar ). I already tryied various combinations of CCommandBar SHFullScreen SHFindMenuBar CommandBar_Show ecc... this issue will jeopardize the entire project. Hope someone can help me...... Sorry, this isn't an answer but more of a uh yea..... I've also tried for about a month now to figure this out without any luck.... I've recently moved to a CView instead of a CDialogbox approach but I am running into many problems making the CView act and show ...Show All
Visual Studio Tools for Office Need recommendation on Office/VBA/.NET/C# solution
We want to move logic currently in Word XP VBA to C# component(s). What the VBA code basically does is calling Web Services that are implemented in Java, and display the returned data in Word documents. Our requirements are: improved performance easiness to install the components on end-user's PC's ability to be shared the components across all the products in the Office suite After doing some reading, there seem to be 2 solutions to me: Register the C# components as plain-vanilla COM objects using COM interop and call them from VBA Register the C# components as COM automation addins. However, this thing called "Shimming" that ...Show All
Visual FoxPro newbie here...
hi to all... i have a form named customers and i have txtboxes to input all information i needed. i have a grid that shows all the records in the table customer. works fine on loading. now, i have 2 buttons previous and next respectively. my codes are as follows: Previous Button: USE customer if not BOF() skip -1 thisform.refresh() if BOF() go top endif endif Next Button: USE customer if not EOF() skip thisform.refresh() if EOF() go bottom endif endif Now, my problem is that when i move to another record by clicking next button, my data on the text boxes moves fine and my grid goes white with no data on it, ...Show All
SQL Server Why is sort so slow?
I set up a sample sort data flow that is attempting to sort 11M records totalling about 3GB. It ran for four hours and then I killed it. How can it be so terrible Am I missing some hidden tuning parameter DIdi you try to put an index on the sort column (the best would be a clustered index though this one is physically order by design), that should be helpful. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Basic Is there a way to make intellisense transparent?
Is there a way to make intellisense transparent similar to the way you do it with datatips ...Show All
Software Development for Windows Vista LoadLibrary (regsvr32) fails without Visual Studio 2005
I've just upgraded from Visual Studio 6 to Visual Studio 2005. I've got the latest DirectShow stuff (in the platform SDK) and am using it. Everything builds and runs fine on my development machine (which has Visual Studio 2005 installed) but when I try: "regsvr32 "myfilter.ax" on a different machine (without Visual Studio 2005, both machines are WinXP Pro and up to date AFAIK), I get the error: LoadLibrary ("myfilter.ax") failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. This happens even when I use, say, the "dump" example fil ...Show All
Microsoft ISV Community Center Forums Parsing text with tags in Excel using VBA
Hello, I need to parse a text containing tags. The problem is that all of the VBA parsing functions I found divide the text using one char delimiters. Any ideas Thanks, Raphael Cohen Bioinformatics Support Unit Ben-Gurion University Have you tried the VBA Split function It came in with Excel 2000 but can be simulated in earlier versions. a$="h<t>a<t>p<t>p<t>y" b=Split(a$,"<t>") produces: b(0) = "h" b(1) = "a" b(2) = "p" b(3) = "p" b(4) = "y" Any good ...Show All
Windows Forms How can I return the method that is called when an event is raised ?
How can I return the method that is called when an event is raised System.Reflection.EventInfo.GetRaiseMethod does not work. most controls and components have an events property which is a EventHandlerList class. This in turn has an items property you can then get the method you want, I don't have any code samples since I'v never had to do th ...Show All
.NET Development How uses c# to monitor under some directory some file change ?
How uses c# to monitor under some directory some file change For example: (monitor: C:\WINDOWS\123.Txt (file add . delete. remove . Modification)) thank Blair Allen Stark :-) May write the code example ...Show All
SQL Server Unable to create linked server on 64 bit SQL 2005
We have just started migrating our SQL Database to a new 64 bit server. The problem is that we must import data from text files (some are fixed width other CSV) and there is no Jet 4.0 OLEDB provider installed on the machine. In the past we have created a linked server to import the data. When I try to download the Win 2003 version of Jet, I get the error “wrong hardware”. Were do I get a 64 bit version of Jet or is there a way to install it OR is there another OLEDB provider for text files Thanks in advance! Hello, we are installing new windows 2003 server. But, old sites not work. ...Show All
