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

Software Development Network >> BBPowers's Q&A profile

BBPowers

Member List

Helen999888
Tryin2Bgood
MYVB
think twice
Jens K. Suessmeyer - MSFT
MFZ
sunil_s
daimaku
AlexBB
dmkp231
msd11
Ashish Vyas
2Steps
pjs.net
loopool
Judyt
Jackuline
Toddap_MS
PBrall
Michiru
Only Title

BBPowers's Q&A profile

  • .NET Development configured identity is incorrect on COM+

    With a deployed COM+ EnterpriseService object having Identity (default) System Account-Interactive user - The current logged on user activating the object returns a COMException: The server process could not be started because the configured identity is incorrect. The user logged on is Local Administrator. According to kb276407 this should suffice, isn't it How can I deploy a COM+ package properly WindowsXP, FW11 This is not related to managed networking APIs. Please direct this query to the appropriate forum from http://www.microsoft.com/communities ...Show All

  • Software Development for Windows Vista MessageBox wrapping text differently than XP

    Is there a stated reason why MessageBox's will wrap text differently than in XP For example a MessageBox in XP may be wide but the same MessageBox (text and caption) will be narrow and wrap the text earlier. Is this configurable or a fundamental change to MessageBox behavior in Vista Thanks, Jim Unfortunately we have many messagebox's that are carefully designed as multiline messages with newline characters placed where we expect the line to break. If the new default behavior breaks the line before reaching this newline character then the user sees alternating long line, short line, long line, short line, etc. This would look very unprofessional. A better approach might be to use the new a ...Show All

  • Visual C# Help refactoring a method

    I want to get rid of repetative code in the attached method I created (like in my If statements as you can obviously see, most is repeated but just for different product types) but not sure the best way to restrucure it: http: / / www. webfound. net/ forum_ posts/ repetative. txt Dude, first off... this is code in progress .  As you or any other developer knows, this may not be "working code" yet....DUH! homework assignement...kiss my a** as far as that comment goes. Stick to my quesiton ...not BS. This is for a huge public e-commerce site so again, kiss my a**, I've been in IT for 8 years. Yes, I'm taking that personally as you can tell because comments like yours is not necessary.  It's a stupid remark...an ...Show All

  • Visual Studio Express Editions Creating a WebBrowser

    Working to create a webbrowser, and using some of the msdn webbrowser code. Was wondering how i would set up the URL textbox so that when the page changes (using back/forward button) it also changes the text in the box to the appropraite URL. Thx. In The properties Window click to Events button. Then make a double-click to the documentcompleted event. This creates a new method that will handle it event. You can use a sentence such as : txtLocation.Text = wbrBrowser.Url And it's all. Oh, you can also to use the Navigated Event to handle this. Regards, ...Show All

  • Smart Device Development Problems using CDC::BitBlt

    Hello, I am using BitBlt to copy one CDC to another. However, for some reason, it is not working at all. The line of code is: pDC->BitBlt(0,0,screenWidth,screenHeight,buffer,buffer->GetWindowOrg().x,buffer->GetWindowOrg().y,SRCCOPY); I am CERTAIN that buffer contains the graphics I need. buffer was created with the following line: ASSERT(!buffer->CreateCompatibleDC(pDC)== 0); Any help would be much appreciated! -Brent Hello, I have come back to this problem after a few weeks and I still am pulling my hair out.  My platform is Windows Mobile 5 Handheld.  I am attempting to perform a BitBlt from an in-memory CDC created with CreatedCompatibleDC() to a DC that poi ...Show All

  • SQL Server Creating Special Relative Date Categories

    I need to re-create special relative date categories in SSAS similar to the functionality offered by Cognos/Powerplay/Tranformer. My problem is that we are replacing Cognos PowerPlay/Transformer with SSAS. With Cognos, you can create relative time categories very easily. The relative time categories are part of the time dimension. When setting up these special time categories, you tell Cognos how to determine the relative time based on the current date or some other calculated date. As a result, the Cognos relative time categories like YTD, MTD, Yesterday etc. are all based off this date. Every time you refresh the cube, the relative date categories change. The big difference between SSAS and Cognos is that SSAS apparently requires you to ...Show All

  • Visual Studio 2008 (Pre-release) URL Escaping.

    Hi, I know this isn't a WCF question per say - but related. I'm calling a WS from a .NET WCF client. The endpoint is formated like this: http://IP/wsgwsoaphttp1/soaphttpengine/http%3A%2F%2Fblah.dk%23ACTION Now this is a URL-encoded string for: http://IP/wsgwsoaphttp1/soaphttpengine/http://blah.dk/ACTION When the endpoint is opened a Uri is created behind the scenes. This URI escapes the string into: http://IP/wsgwsoaphttp1/soaphttpengine/http:/blah.dk/ACTION (Notice missing "/"). This is done in the canonicalize function of the URI : http://msdn2.microsoft.com/en-us/library/system.uri.aspx "Canonicalizes the path for hierarchical URIs by compacting sequences such as /./, /../, //, including escaped representations." ...Show All

  • Visual Studio 2008 (Pre-release) Applying different DataTemplate to the selected ListBox item

    Hi. I want to apply a different DataTemplate to the selected item in a ListBox. Is there a way to achieve it in XAML, with no code Thanks. you can do something like this < ListBox Name = " list1 " > < ListBox.Resources > < Style TargetType = " {x:Type ListBoxItem} " > < Setter Property = " ContentTemplate " Value = " {StaticResource dt1} " /> < Style.Triggers > < Trigger Property = " IsSelected " Value = " True " > < Setter Property = " ContentTemplate " Value = " {StaticResource dt2} " /> </ Trigger > </ Style.Trigg ...Show All

  • SQL Server Selling my software and SQL server 2000 as part of the package

    Hi everyone, I have developed a VB6 application that works with SQL server 2000. My client does not have a SQL server installed on their machine. I wonder do I have to purchase a copy of SQL server 2000 and install it to client's computer How much would a basic version of SQL server 2000 cost I am new to the softwarel world. Please give me some advise. Thanks Hi there I have a similar question - but my database is likely to be for 15+ users with a server-based network as well as being web-based at some future date. It is also likely to be too big for SQL Server Express. So I presume I will have to load SQL Server 2003 onto my customer's server. Is that right Thanks Steve ...Show All

  • Visual Basic How to save active page displayed through I.E.6 under text page.

    Hello, I would like , through Visual Basic 2005 command, save under c:\test.txt an active sheet displayed on the screen through I.E.6 browser. I am working Windows XP . Any support will be welcome ! I have used the first code programe and it works fine. As I want to overwrite on existing file I had to change "true " by "false" in the Getpage instruction. I think it is correct now ! Then , I am able to check the full programme and apparently I notice the following : If I browse for example inside Google(Http) , and finally I get the right page, I save it inside HTMLDownload.txt and that works fine. When I do the same with Http url, then get the page Https, which I ...Show All

  • Commerce Server Sorting Problems

    I have a new storefront up on the web and the sorting of data from the CS2007 db is only 'partially' sorted. For example when I sort a list of products from a search results by 'price from low to high', on the first page I get things from about $5-$10, the next page is products that are a little more expensive and so on BUT the products aren't completely in order. I sometimes get a $7.50 before a $5.00 and so on. My internal test system points to a different database server with the exact same catalog and code and the sorting works perfectly there. Has anyone seen something like this where the sorting doesn't alway work properly Here's what my code looks like. It's extremely straighforward CatalogSearchOptions searchOption ...Show All

  • Visual Basic Embed TrueType font in VB 2005

    Hello, I have created a TrueType font that I would like to use in a project but I don't want the font installed on the end users machine. Is it possible to embed a font as a resource, or otherwise, in a VB 2005 project How do I protect a font form general use/distribution Thank you in advance, ED Hello, Thank you for the quick response! I have loaded the code and modified it with my font name. I set the 'Build Action' to 'Embedded Resource' as required. When I run, the 'fontStream' variable is always 'Nothing'. Do I have the required 'Imports' wrong Here is the code as I have it: Imports System.Drawing.Text Imports System.Runtime.InteropServices Imports System.IO ...Show All

  • Microsoft ISV Community Center Forums Writing result in Excel

    Hello, I have the folowing code:   Public Function DgrMinSec2DecDgr(Angle As Double) As Double ' * -------------------------------------------------------- ' * Program not yet working ' * -------------------------------------------------------- ' * Variables Dim grd As Integer Dim min As Integer Dim sec As Integer Dim calc As Double ' * Values grd = Angle \ 1 calc = (Angle - grd) * 100 min = calc \ 1 calc = (calc - min) * 100 sec = calc \ 1 DgrMinSec2DecDgr = grd + (min / 60) + (sec / 3600) DgrMinSec2DecDgr = Round(DgrMinSec2DecDgr, 4) ' should I round this result ' * Write - problem in writing in cell 'Debug.Print Round(DgrMinSec2DecDgr, 4) 'ActiveCell.Formula = "Write" & DgrMinSec2DecDgr ActiveCell.Sel ...Show All

  • Visual Studio Express Editions Need to know if uploading with VB Express app is possible.

    Hi I have a copy of Visual Basic Express 2005 and I am currently writing an application that has to upload images to my domain into a specified folder. The problem is that everything I have been reading a researching on this hasnt helped me. I have used "My.Computer.Network.UploadFile" and have also tried the "System.Web.UI.WebControls.FileUpload.SaveAs" and both dont seem to want to work. the latter simply tells me that UI is not a member of System.Web The first one seems to work on pretty much all the methods such as "ping,IsAvailable" etc, but doesnt seem to work for uploading or downloading. My file paths are correct, the server is up and running and I am connected to the internet when I run the debug ...Show All

  • SQL Server Cannot start SQL Server Browser

    Hello, I use SQL Server 2005 for multi-user access. In the Surface Area Configuration, I changed the protocol from TCP/IP to Named Pipes and restarted the service. Then I went to SQL Server Browser, stopped it and clicked on Start to restart. I am getting a message "An error occurred while performing this operation". I am not able to get the Browser started. Any help would be greatly appreciated. Thank you Matt for your help. I tried the "netstat -aon -p UDP" command. The Windows 2000 Server does not seem to support the -o switch which shows the Process ID. I could only do "netstat -an -p UDP", without the "o". I can see that 1434 was listed, but do not know t ...Show All

©2008 Software Development Network