Software Development Network Logo
  • SharePoint Products
  • VS Team System
  • Visual C++
  • .NET Development
  • Microsoft ISV
  • Visual FoxPro
  • SQL Server
  • Visual C#
  • Windows Forms
  • Smart Devicet
  • Windows Vista
  • IE Development
  • Visual Studio
  • Game Technologies
  • Audio and Video

Software Development Network >> Bjorn EP Backlund's Q&A profile

Bjorn EP Backlund

Member List

CJW99
elemr
Gromlir
Rups11
hommer
Brian Tucker
zabrucewayne
MetalReview.com
johnof
railguns
sebs
Vale Surfer
Stags
ryan.rogers
Cezar Felipe
Robert.Altland
MadMojo1
velkan
DevDiver
Tryst
Only Title

Bjorn EP Backlund's Q&A profile

  • Smart Device Development How setup Cellular Line (GPRS) modem by visual C#

    Hi, May I ask, How can I setup a new connection for GPRS on a windows mobile 5.0 PPC by visual C#. Actually, Before I start any application in the PPC to communicate the web, I set up a connection manually: Start_Settings_Connections_Add a new modem connection_My Connection_Cellular Line (GPRS)_.... I want to do it automaticaly on each Hard-reset. What is your suggestion Thanks I got it. Thanks. I changed the code as bellow with extra <wap-provisioningdoc> tags then have made cpf file and everything works fine: <wap-provisioningdoc> <characteristic type="CM_GPRSEntries"> <characteristic type="GPRS1"> <parm name="DestId" val ...Show All

  • Smart Device Development Transparent listbox

    hi all, Is there any way to have transparent list box coz i want to implement gradient style in that according to the theme selected.please help needed Actually listview control support gradient - just set the ex style to LVS_EX_GRADIENT: public static void ListViewSetGradient(ListView lv) { SendMessage(lv.Handle, LVM_SETEXTENDEDLISTVIEWSTYLE, LVS_EX_GRADIENT, LVS_EX_GRADIENT); } private const int LVS_EX_GRADIENT = 0x20000000; private const int LVM_FIRST = 0x1000; private const int LVM_SETEXTENDEDLISTVIEWSTYLE = (LVM_FIRST + 54); ...Show All

  • Windows Forms Get the handle of each open window.

    I am in quite a predicament here. What I need to do is call some sort of API, (from User32 ) that retrieves the handle of each open window, (minimized or open) and store it in an array. I looked through the functions in User32...and am not sure how to use EnumWindows and am not sure if that will do what I want. The second part I need to know how to do is store them in an array. IntPtr[] hArray = new IntPtr[] Any help is appreciated. Add a new class to your project and paste this code: using System; using System.Collections.Generic; using System.Runtime.InteropServices; public class WindowEnumerator { private delegate bool CallBackPtr(IntPtr hWnd, IntPtr lParam); [DllImport("user32.dll")] private static extern int Enu ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotating sprites center

    I'm new to directx programming and i'm writing a simple program to help me learn. I'm using sprites and i'm trying to rotate the texture based on its current heading (the sprite is moving around). Now when i try to rotate it using a matrix, it seems the matrix is too big. My texture is only 32x32, and when i do the transformation, leaving the rotation center as NULL should set it to be the top left, according to what i've read. However, after experimenting because it didnt work, I found that if i set the center to be close to the window's center, or some larger center, it seems to fix it a bit. So it seems to me that the matrix is too big for my texture. I don't know if there is any way to set the size of it If you would like code I can ...Show All

  • .NET Development Tracing not working from Webservice

    I have a problem tracing from a ASP.NET 2.0 webservice. All calls to System.Diagnostics.Trace.WriteLine are ignored by the compiler. I've come to the conclusion that this is caused by the TRACE compileroption not being defined in the compilation, because when adding a "#define TRACE" tracing works as desired. The documentation says that TRACE should be defined for both Debug and Release configurations, but clearly it is not the case on my machine, because newly created and completely empty Webservice project has the same problem. It would be an OK solution for me if I could define TRACE for the entire project/solution, but adding a #define TRACE to every single file is not an option. However I can't find anywhere in the IDE, w ...Show All

  • Visual C++ List Box Error

    When I try to set the ListBox's SelectedIndex property to zero it gives me an out of range error for datetime. In the listbox there is only two items and when I set the SelectedIndex Property to one it works. Can anyone help me out Hello Re: List Box Error Such questions are outside the scope of this forum - for the scope of the Visual C++ General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 The more appropriate place for your question is probably the MFC newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US OTP Thanks Bite ...Show All

  • Visual Studio Team System Cannot access the 'Reports' folder in Team Explorer

    Hello, I cannot access the 'Reports' folder in Team Explorer; it has a red cross on it. I'm a Project admin, Team admin, and Reporting Services admin (as set in the Reporting Services Site Settings, site-wide security settings). This doesn't happen for users that are local admins on the server OS (which is Server 2003), but surely there must a better way best regards, /Tomas Ya.. you are right..it doesn't mean you should be the admin of the local computer ....can you please check out from the client side ...whether you could able to see the reports folder.. Also check whether you could able to access the following URL. .. http://<TeamfoundatioServerName>:8080/ReportServer/Pages/ReportViewer.as ...Show All

  • Visual Studio 2008 (Pre-release) How to set up WCF Service on IIS

    I have written a WCF Service. It works well, and is a CLR .exe file I want to use this service on IIS. How do I do that Also, I dont see a configuration file on WCF, would that be the .application file Thanks Please take a look at: http://windowssdk.msdn.microsoft.com/en-us/library/b044b1c9-c1e5-4c9f-84d8-0f02f4537f8b.aspx Thanks James ...Show All

  • Windows Forms RichTextbox bold

    hey, I am having trubble amkign the text in the richtextbox bold..I used this code: thisrichtextbox.SelectionFont.Bold = true ; but it gives me this error: Property or indexer 'System.Drawing.Font.Bold' cannot be assigned to -- it is read only Thanks:) Here's a more general version of the bold/italic/underline/strikeout feature, for searchers yet to come: 1. Create a separate Button/ToolStripButton or ToolbarButton, whichever fits you, however, the code assumed normal good-old-fashioned buttons, named simply btnBold for bolding, btnItalic ... and so on. The code below should be tweaked for Toolbars (the handler should be the toolbar's ButtonClick event handler not the click, and the comparisons should ...Show All

  • Visual C++ C2555 error in VS C++

    I received error C2555 when trying to compile my VS 2005 C++ code. I found the following reference and it said under STATUS it has been fixed in Visual C++ .NET version. http://support.microsoft.com/kb/240862/ Should I not be getting this error anymore or am I missing something I am running Microsoft Visual Studio 2005 Version 8.0.50727.42, .Net 2.0.50727, Visual C++ 2005. VC6 was rather lax when it came to template parameters.  It inferred too much about template parameters, and your example may be one of those cases where it relied on VC6.  But VC6 was horribly non-C++ conformant. Well, not that horribly.  Depends on your POV. ...Show All

  • Visual Studio Tools for Office VSTO processing many files

    Hi All, I'm new in VSTO and I'd like to use it to automate some tasks in .DOC and .XLS files. According VSTO documentation, "a managed code assembly is attached to a Word document or Excel workbook." So, what does it mean Is not possible for example create VSTO app to interact / process many .DOC or .XLS documents My scenario is, I have thousand of .DOC and .XLS files and I'd like to create a solution to open each file and make some changes. How can I do that Thanks, Armand Based off what you're saying you want to do, I would implement this using the standard Word automation interface, via the programming language of your choice ... The VSTO binds a managed solution to a particular template/d ...Show All

  • Gadgets new XMLHttpRequest() - I'm at a loss

     I have programmed a gadget and it works great. I uploaded it to the Live Gallery and then I tested it and it doesn't work anymore. var xml_request = new XMLHttpRequest();  xml_request.open("GET", url, true);    <----- breaks here! the url variable is valid. It just stopped working all of a sudden with no code change. All the other gadgets in my sidebar can access the internet just fine. I have no idea why it just stopped working. If I replace it with: location.href = url; it opens the url in IE just fine. You should check out this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1283951&SiteID=1 It sounds like you may be having the same proble ...Show All

  • Visual Studio Determine Number of Pages on Report

    I have a custom print/export feature on my webform instead of the built in ReportViewer controls. This allows me to print/export with MS AJAX. The CRV outputs javascirpt in the page load event which doesn't play well with MS AJAX. My code allows the user to optionally input FirstPage and LastPage to print. If FirstPage is blank then default to 1 If LastPage is blank then default to N. I can't figure out how to get the number of pages out of CR. I tried setting N to zero (0), but that seemed to output the entire report no matter what the value of FirstPage is. Any ideas on determining the CR page count. I did see this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=560381&SiteID=1 but this doesn't work with my report ...Show All

  • Visual Studio Tools for Office Working with older Office formats

    Hello there, I am looking for a solution to generate pre-2007 office files on the server (using .NET / ASP.NET) without having office installed. I looked into the option of generating open XML documents and then converting them back to older formats using Compatibility Pack, but it appears that Compatibility Pack requires Office (the documentation is sort of hazy about it). So this one is not an option. Plus, there are tools that allow to generate Word and Excel tools, but could not find anything like that for Powerpoint files. Are there any other possibilities or should I ditch the idea and force the open XML format Any comments are appreciated. Cheers, Roman There really aren't any options for this, on ...Show All

  • Visual Studio 2008 (Pre-release) Button Events

    Newbie question If if place a button on a window how can I set the mouse click event. I thought I could just click on the button like a normal Winform application and add the event code. I am surprised that this feature has not been added yet, to me it seems very important. I would like to design my application with IE and then use VS2005 to wireup everything. I'm sure that is the master plan but I would have thought a feature like event creation would have been added by now. ...Show All

©2008 Software Development Network