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

Software Development Network >> John Basedow's Q&A profile

John Basedow

Member List

Scott Eggert
ChandraP
Valery Letroye
Justin-Josef Angel
TheAgent
donkaiser
Dinesh Patel
Dietz
Sergey Astapov
Marcos Hercules
StairCounter
Philipp Lamp
David Krmpotic
XNA-Mordt
Christoffer Skjoldborg
Mortsdeh
paso
madhu_v
Anatolik
THE RAZI
Only Title

John Basedow's Q&A profile

  • SQL Server Connection String and VB.NET

    I am following the video tutorials for VBX (quite good BTW) and am on Lesson 09. When I add a data source, the wizard does not produce a connection string. I am following the instructions exactly. What is wrong Peter Feigl Hi, Refer http://www.connectionstrings.com/ fore more. Hemantgiri S. Goswami ...Show All

  • Smart Device Development CameraCapture

    I have tried code samples of Windows mobile-CECamera, and CameraCapture for C++. But I can not execute these programs.. I think the problem is my camera is not integrated in PDA. These sample codes are really for integrated camera My device is HP IPAQ 2790, and Camera is Photosmart camera SDIO Type.(not integrated in IPAQ 2790) I have tried CECamera, CameraCapture for C# and C++. Thanks. Alex Feinman wrote: Veo SDK supports video capture to a file. How As long as my knowledge, the SDK only provides SDIOCamSnapShot function for capturing still images to JPEG file. In SDIOCamSetting, it is little bit mentioned that this camera is capable to capture video, but I cannot find the corresponding fun ...Show All

  • Visual Studio Tools for Office How do I create a "global" solution for Excel or Word 2007 using VBA?

    It looks like VSTO is great for producing global "Add-In" solutions for Office applications. What's the best way to to use this "Add-In" style model using VBA instead of .NET How do I create a "global" solution for Excel or Word 2007 using VBA Thanks in advance. --Nick Hi Nick I'm not sure what you mean by "global" exactly. Word supports template addins and Excel xla addins. you can look up discussions about these in the relevant VBA newsgroups as listed in the " Please Read First " posting at the top of this forum. ...Show All

  • Visual Basic Through VB IDE, how can I find out if a particular program or EXE is running or not?

    Through VB IDE, how can I find out if a particular program or EXE is running or not Please advise on what function to use. A code snippet would be more helpful. thanks. The IDE itself does not have any typoe of function for that purpose...However you can use the process class to check to see if a process is running on your computer: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemDiagnosticsProcessClassTopic.asp ...Show All

  • Visual Studio Team System What does SP1 contain for Team System (TFS and Visual Studio)

    Hello, I assume that this will be a common request. Before we can install SP1 at all our customer sites, they will want to know what it contains If anyone has these details it would be appreciated (especially what is new and major bug fixes):   Based on the following blogs for Beta, I can build what might be in SP1: http://blogs.msdn.com/bharry/archive/2006/09/28/775891.aspx  (bug fixes) http://blogs.msdn.com/bharry/archive/2006/09/26/772371.aspx  (features) http://blogs.msdn.com/bharry/archive/2006/10/03/Promised-SP1-docs.aspx http://blogs.msdn.com/bharry/archive/2006/11/30/team-foundation-server-roadmap.aspx http://blogs.msdn.com/bharry/archive/2006/06/15/632236.aspx Other links for SP1 ...Show All

  • Visual C# Decimal Problem

    Hey I'm currently creating a shopping cart, and i'm having a problem with the data transfered to the SQL Database. Currently writing a C#; The problem is when i multiply a Decimal by a Int the decimal automatically rounds up, I've set the datatype decimal(6,2), eg Decimal linetotal = productPrice * Quantity, "52.63 * 2 = 105.26". I know that 'linetotal' = "105.26", because i'm using the breakpoint in the debug mode, but when i send this total to the database it automatically rounds up to "105.00". Anyone have any ideas Thanks Rich try declaring your @Linetotal with precision & scale, e.g.,         @Linetotal decimal(10, 2) check your Linetota ...Show All

  • SQL Server Report Layout after deploy

    Hi everybody, I have problem to creating the report using report server. After report degining as report project, the report appeared proper in the layout . But it doesn't show with proper alignment, After deploy this report in the reporting server . How to rectify this. Please anybody is in, share with your idea. Good day Yes, You are right. The controls are overlapped in my report degin . After rectify this, the report display properly. After that, i m facing another problem for using the subreport. it hasn't display properly. If you have any solution, please provide to me Thanks ...Show All

  • Visual Studio Generating docs using Sandcastle (CTP) from un-managed C++

    Hi all. This has probably been asked before but...... Is Sandcastle able to or will be able to produce docs from un-managed code I've generated an XML comments file from my C++ source, but MrefBuilder can't do anything with it because my code doesn't use any managed assemblies. Running MrefBuilder on this comments file yields a "0 assemblies loaded...etc" message. This results in an empty reflection file and a wasted chm . Would creating my own .org file, based on the contents of the C++ comments file then enable Sandcastle to create the docs Thanks for you help. Adam Not yet. We are working on releasing V1.0 of Sandcastle and will be planning features for 2.0. We do plan on doing monthly CTP ...Show All

  • Visual C++ unsigned short vs. wchar_t in SAX2 API

    Hi all, I am writing some codes to parse XML document using SAX2. The program works well in vc6 but can not compile in vs2005. I define a class CIndexHandler to parse the XML, here is definition: class CIndexHandler : public SAXContentHandlerImpl ... class SAXContentHandlerImpl : public ISAXContentHandler ... The problem is that, some functions in class ISAXContentHandler have parameter type "unsigned short", but in class SAXContentHandlerImpl they are "wchar_t". This is OK in vc6, but can not work in vs2005. eg. ISAXContentHandler : IUnknown { virtual HRESULT __stdcall startPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix, unsigned short * pwchUri, int cchUri ) = 0; ... class SAXContentHand ...Show All

  • SQL Server Sum measures

    I have two dimensions DimFactory and DimDate and a factSale having measure NewPens. The attributes and heirarchy of DimFactory are Company->Division->Region->Branch I would like to calculate the total number of NewPens for a Company, Division, Region and Branch for a week in a query. I create calculated member(s) that returns the Sum of NewPens for a company, division and region. The MDX expression is as shown below. with member measures.SumCompany as SUM( { DimFactory.Company.members * [Dimdate].[Week Of Year] } , [Measures].NewPens) member measures.SumDivision as SUM( { DimFactory.Division.members * [Dimdate].[Week Of Year] } , [Measures].NewPens) member measures.SumRegion as SUM( { DimFactory.Region.members * [Dimda ...Show All

  • Visual C# How do I login to a website in ASP.net (C#) ?

    Hi, I'm trying to write a ASP.net application that can supply a username and password to a website's login screen. After my C# program logs into the website. Does anyone know how I can write such a program in ASP.net (C#) Thanks before I continue, I understand you wish to create some login screen, is this correct This login screen will be given a username/password, once "login" has been clicked, you then wish for them to proceed, checking credentials - is this correct ...Show All

  • Visual C++ Repost-Same code compiled sucessfully on a desktop but failed on a laptop

    Repost due to the display error.--- Below code can buit sucessfully on a DELL desktop but failed on a compaq laptop.The compiler said that snack 's size is unknow. #include<iostream> #include<string> using std::cout; using std::cin; using std::endl; using std::string; struct CindyBar{ string brand; float weight; int calory; }; int main(){ cout<<"Plesae enter the size to determine the array:\n"; int size; (cin>>size).get(); CindyBar *snack=new CindyBar[size]; cout<<"Please enter the items one by one:\n"; for(int i=0;i<size;i++){ cout<<"Please enter the No."<<i+1<<" 's brand:\n"; getline(cin,snack[ i ].brand); ...Show All

  • .NET Development Data Adapters...where are they?

    I just upgraded to VS2005 and am just wondering what the differences are between the data access setups. I know that in my current code from previous projects I have data adapters and I see that the VS2005 doesn't even have data adapters. The reason I'm asking.... I was working with a project and I needed to add another connection/data adapter and I couldn't. So, I just copied and pasted a previous one and set the properties like I wanted. This didn't work and only made it so none of my connections/adapters are working now. It was odd, but would it be worth my time to just switch over to the newer style Thanks for your time. I found it odd myself. Is this the way I should have gone about adding a new d ...Show All

  • Visual Basic How to change the font of specific items in a ListBox

    Hi,   Some help please.   I have this code to add the font names to a listbox   Dim FontCollection As System.Drawing.Text.InstalledFontCollection = New System.Drawing.Text.InstalledFontCollection Dim Font As FontFamily For Each Font In FontCollection.Families     ListBox1.Items.Add(Font.Name) Next   It adds the font names only. I want to show the style too. How can I do that.   Like this: ListBox Items   Arial Arial Black Times New Roman Courier New Algerian Broadway Yes, like the one you use to select the font in Word. Last night I keep searching and I found this is usin ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3DX10_SPRITE question

    Are there any samples out there that draw a single sprite using the D3DX10_SPRITE struct I'm a bit confused as struct describes the sprite width and height as a vector from the upper-left to lower-right of the sprite. Isn't the width and height normally describes in pixel sizes of the texture, such as 32x32 After a half-hour of messing with this I finally just dropped in D3DXVECTOR2(1,1) and was surprised to see the sprite finally show up. Thanks, Wendy I'm working on a D3D10 update to a DirectX9 book I wrote which is why i'm trying to make sure I have the simplest path for sprite usage. Now that I understand that the width and height are actually u,v coords it should make it easier to explain. :) ...Show All

©2008 Software Development Network