devisjohn's Q&A profile
Windows Live Developer Forums Import/Export functionality
Is it possible to import/export the formatted content of Live Writer I would like to import a text file, format it (including assigning categories, keywords, excerpts, etc) then export all of that data out (maybe in an XML format). Is this doable with the SDK Well, in a sense, publishing is an "export" operation. You could set up a local metaweblog server and configure Writer to publish to it. ...Show All
Smart Device Development Deploy Smart Application via Setup Package
Can I publish or deploy a smart application via a typical setup package Currently when we install web applications we build a web setup package and execute them on the IIS web server machine. Can that sort of thing be done with these "smart apps" I know that defeats or negates all the wonderful benefits the visual studio IDE provides, but installing visual studio on a machine in the production enviroment won't be accepted with open arms from our Systems Adminstrators. You can create Smart Device Cab Projects using Visual Studio. You can then wrap that into a MSI using the instructions here http://channel9.msdn.com/wiki/default.aspx/MobileDeveloper.InstallApplication ...Show All
Smart Device Development ActiveSync two mobile devices
I know ActiveSync is PC to Windows CE mobile device. My question is there a way to ActiveSync a Windows CE mobile device to another Windows CE mobile device I would like to bypass the PC and not loose my contact info Any and all information is thanked in Advance! Samy ...Show All
Visual C++ std::vector::resize bug
This is the declaration for the second form of std::vector::resize (in VC 2005): void resize( size_type _Newsize , Type _Val ); Note it passes by value, not by const reference. This is different to every other function in std::vector, and means you cannot construct a vector of items marked with __declspec( align( n ) ). I modified the vector header to use a const reference instead and it seems to work fine now. The Intel C Compiler does not seem to have this problem, and I've just checked the GCC header and it passes by const reference. I can't really see any reason why you'd want to pass by value, so I'm presuming this really is a bug. Does anyone in MS read these forums cfp c_f_p w ...Show All
Windows Forms Form_Load event + BackgroundWorker Thread (VB.2005). Behaviour not as expected.
G'day, I've got a vb.net 2005 windows form opening via the following code. Dim frm As New frmOptions Me .Opacity = 0.8 With frm .ShowDialog() ' Do something here if the databases have changed. Me .Opacity = 1 Call Me .SetupLogin( True , e) End With In the Options form that I'm opening I'm doing some searching for actual SQL Server databases available to the user and this takes a while to perform, so I've used the background worker thread to help speed up the loading of the form. Example. Private Sub frmOptions_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles MyBase .Load BackgroundWorker1.RunWorkerAsync( GetActualSQLServe r) ' Do a heap of stuff th ...Show All
Internet Explorer Development IE7 HP Director Problem
I can't use HP Directors or Solution Center after install IE7. I installed fresh HP software and updates. But problem persist. When reinstall IE6 back, problem solved. who knows anyway or have ideas Please help me. Thank you, Hi Debra Try this temporary cure given to me by HP ,Until they release a patch, It worked for me, just pay attention to the instructions it gives you>> http://www.geocities.com/contacthptech/hp1.js It will probably ask for your HP instalation CD All the best ...Show All
SQL Server Cannot insert duplicate key in object 'dbo.RunningJobs'
I'm using SSRS 2005 on a Server 2003 machine. Some of my reports run fine but others take a long time to run and sometimes fail with an http error 503. After a report errror happens I find entries in the event log that says: cannot open a connection to the report server When I look at the log files for Reporting services I see an error caused by a primary key violation on the Running Jobs Table: Violation of PRIMARY KEY constraint 'PK_RunningJobs'. Cannot insert duplicate key in object 'dbo.RunningJobs' Does anyone know why do I get such errors Bellow is the error message in the logs: w3wp!library!6!21/08/2006-09:30:22:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDatabaseUnavailab ...Show All
Visual Studio Express Editions Web Browser
I am making a web browser with tabbed browsing and i need help with the address text box. When i type the address it comes up in the newest tab, even if that is not the currently selected tab. This is the code i am using for the tabs Dim tab As New TabPage Dim wb As New WebBrowser wb.Dock = DockStyle.Fill AddHandler wb.Navigating, AddressOf webbrowser2_Navigating AddHandler wb.Navigated, AddressOf webbrowser2_Navigated tab.Controls.Add(wb) tabcontrol1.TabPages.Add(tab) TabControl1.SelectedTab = tab TabControl1.SelectedTab.ImageIndex = 0 WebBrowser2 = wb WebBrowser2.GoHome() And this is the code for the URL box WebBrowser2.Navigate(ToolStripTextBox1.Text) It looks to me lik ...Show All
Visual C++ Partially displayed items in a list view
Hi all: Not sure if this is the right place to ask this question. If not, just ginore my post. Thanks. I got a problem with list view. My list view is a virual list derived from MFC. I use DrawItem to display the items. The problem is by scrolling down or up, sometimes it displays half line of the item at the bottom or top and another half line of another item which was shown in the previous window. I can resolve this problem by refreshing window manually or call UpdateWindow after I draw items. But it causes a performance issue when I scroll down/up very quickly. Is there any possible reason for this problem The following is the code of DrawItem if you are interested in it. It looks a bit complicated. :) Thanks ...Show All
Visual C# VS.NET Design view controls disappeared
Having a major issue with VS.NET 2005. I was working on a website and tried to switch to design view and all controls had disappeared (although html was shown). All code was correct when viewing in code view and the project built and ran correctly. I tried to see if this was an issue with the website alone or the dev environment by creating a test website. Again, no controls were visible and I cannot even drag controls from the toolbox to the design surface. I've tried repairing the installation of VS.NET but again nothing...any help would be appreciated, I really don't want to have to reinstall the operating system! I'm running vs.net 2005 on XP home. Cheers Dave Breare Hi Anson, There are no errors re ...Show All
Visual Studio Consequences of Upgrading
Consequences of Upgrading ========================= I currently develop Windows and Web applications using Visual Studio 2005 (VB). Several of my current Windows Apps incorporate Crystal Reports. Although I own the full version of CR10, I ended up having to use the VS2005 built-in version of CR due to distribution errors. I've been struggling to create a Setup & Deploy package that creates a usable installation - I kept getting a variety of errors associated with the CR environment. Recently I found the new merge module (CrystalDecisionsRedist2005_x86) and after getting rid of all the detected dependencies and older merge modules it looks like things may be working (At Last!) Now, I want to try the new CrystalReports.com but, of ...Show All
Visual C# Forcing drawing of layered window/Tooltip issues with layered window
Hello, My Issue is in two parts: first, I need a proper way to force .Net to draw my form in layered mode all the time, to prevent the form from flickering when I change the opacity (currently I am setting the transparency key to some unused color, which I don't think is very good practice). Second, when I try and display tooltips on a form which is layered, the tooltips appear behind the form, so aren't visible. Any help on this problem would be greatly appreciated. Thanks, Al Yep, thats what I was doing. Only trouble is it looks ugly on fade out, because windows can't switch between normal forms and layered (with opacity) properly. The form fades out ok, but before it does, every control ...Show All
Visual Studio Team System Architects please help with my master degree
Architects hi, I have the following 6 questions which I would appreciate anyone answerin between now and the 9th Feb. Your answers will be used as part of my research project for the masters degree I am studying. Could you describe what your experience has been like using Microsoft Visual Studio Team Systems 2005 Why did you choose to use VSTS What effect has using VSTS had on the team What effect has VSTS had on you as an individual What was the expected outcome of using VSTS What was the actual outcome of using VSTS Please reply to this message on the forum or on my email address simes1412@hotmail.com many thanks SImon Hi Simon, Thanks for your interest in ...Show All
Visual Studio Tools for Office Customizing Outlook 2007 Ribbon -- idMso values for built in tabs
Where can I get a list of the idMso values for built in tabs in Outlook 2007 I tried "TabMessage" and got an error message. Sanjay Sanjay, Here are some useful links for Ribbon Customization in OL2007... Office: http://msdn2.microsoft.com/en-us/library/ms406046.aspx http://msdn2.microsoft.com/en-us/library/ms406047.aspx Outlook: http://msdn2.microsoft.com/en-us/library/ms788199.aspx You can get all the control ID's from here: http://www.microsoft.com/downloads/details.aspx familyid=4329d9e9-4d11-46a5-898d-23e4f331e9ae&displaylang=en Specifically for messages, there is TabReadMessage (for when you double click an email to read), and TabNewMailMessage (for when composing a ...Show All
Visual Basic VS 2005 - Windows Service Project and Setup Project questions
Nice find! I knew there had to be a way. It will probably stop working on the next release though :). Now if there was a way to use a different My.settings config file for the service... Thanks, Unfortunately you can't use my.settings in across projects. You can, however, leverage the .NET configuration infastructure directly (rather than relying on the settings desginer) to acomplish your goals. You still have to have to define your config files on a per application basis (i.e. you would need app1.exe.config and app2.exe.config as opposed to library.dll.config), but the code that reads the configuration data can be located in a shared library. The easiest way to do this is to use AppSettings. You can do this by in ...Show All
