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

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

philmee95

Member List

biozid
Markus Sch.
nagual
knormann
dszhou
Visual Basic Expert
Luis Esteban Valencia MCP Web
jay22
marina B.
Hossam Abdel Wahab
Olivier Cueilliez
pc_bond
Matt_
KevinDSE
xRuntime
etones
Greg Akins
JatinShah
Raja Pratap
berndS
Only Title

philmee95's Q&A profile

  • Gadgets Overlapping transparent PNGs

    Hi, The gadget I am creating is using a transparent png for the body background. On top of that, I want to put transparent numbers on top of it, but I keep getting a pink outline around the numbers. Is there anyway to get around this It looks fine in Mozilla. :( Thanks! You need to use g:background and add text/images to it. For text use addTextObject (see this thread). And for images, use addImageObject (see this thread). ...Show All

  • Visual Basic Print option

    Query1: We have a HTML document spreading out to multiple pages having a caption on the 1st page. There’s a tool bar on top, having a print option. And click on that ‘Print’ button goes to VB code. Code for ‘Print’ is written in VB… What we want is that on the click of print button, we should get the hard copy of the document with the caption coming on top of each and every page of the document. Query2: Is there any way to insert same text at regular intervals on HTML page… Can someone please help Thanks in advance ...Show All

  • Visual Studio 2008 (Pre-release) Images with raw pixelsize, not DPI-relative.

    How do i display an image in it's real pixelsize If you just add an image in xaml it will be resized to the image's DPI / the screen's DPI or something like that. The best would be if there's some kind of global property so no images in my app will be resized, but a simple property for the Image will also work fine. It can definitely be done, but there isn't a simple property that does this for you. In designing WPF, we felt it was important to help applications move forward in terms of DPI-awareness. Apps could be high-DPI aware using GDI or DX for many releases of the OS already, but those APIs make it the default experience that apps are not high-DPI aware. With extra work, you can take DPI into acc ...Show All

  • Visual Studio Tools for Office How to handle Event of Command Bar Button

    Hello There, I have created an add-in for MS-Word application. I have written program using C# 2.0. In that application I want to show a 'From' on some command bar button click. The problem I am facing is that at first time that form is coming properly but on subsequent click that button's click event is not get fire. I have written Code Like this. cmdData = ( CommandBarPopup )oStandardBar.Controls.Add( MsoControlType .msoControlPopup, omissing, omissing, 3, true ); menuCommand1 = ( CommandBarButton )cmdData.Controls.Add( MsoControlType .msoControlButton, omissing, omissing, omissing, true ); menuCommand1.Caption = "Button1" ; menuCommand1.Click += new _CommandBarButtonEvents_ClickEventHandler ...Show All

  • Visual Basic Object Test Bench

    in VS2005 Standard, when I right click a class in class view, select create instance, and say OK, I get "create instance failed", with details = 0x80004005. I've tried this with several different classes...which have warnings but no compile errors, and which I don't think are "generic" (because I don't know what that is and didn't try to make them that.) Any suggestions Thanks! The Object Test Bench is available in Standard (I have standard, and I have Object Test Bench). The only thing mentioned as being only available to Professional and Enterprise is the Class Designer. I had been getting the same exact error as you mentioned; however, by viewing the details printed to the C ...Show All

  • .NET Development Using System.Transactions and Enterprise Library 2.0 (EntLib)

    Hello, I'm trying to use System.Transactions combined w/ Entlib 2.0 and get a strange behaviour. My code looks something like this: void Foo(){ ... using ( TransactionScope scope = new TransactionScope ( TransactionScopeOption .Required )) { // Create DB sngDatabase = DatabaseFactory .CreateDatabase(); using ( SqlConnection connection = sngDatabase.CreateConnection() as SqlConnection ) { //Open the connection connection.Open(); using ( new Tracer ( LoggingCategory .Trace)) { // Call the DAL, to save the changes to the database SaveDataSet(runDefinitionDS); } } ... The problem is, that when I get to the using ( new Tracer ( LoggingCategory .Trace)) lin ...Show All

  • SQL Server SQL 2005 Standard on Vista RTM

    Hi All, I've read a number of threads on here where users have managed to get 2005 working on Vista RTM. I'm having no such luck however. The issue I have is as follows: Clean Install of Vista RTM Ultimate 32bit. Attempt to install 2005 Standard. This error appears: SQL Server Setup Failed to compile the Managed Object Format (MOF) file D:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof. To proceed, see "Troubleshooting an Installation of SQL Server 2005" or "How to: View SQL Server 2005 Setup Log Files" in SQL Server 2005 Setup Help documentation. I've read elsewhere that I need Sp2 of SQL Server. I can't install SQL server though so that makes it hard to apply a service ...Show All

  • .NET Development VB 2005 How to use a DataSet copy

    Hi, Can I make a DataSet using the TableAdapters Table using the same connection and same table Some times I don't want to change the contents of a specific DAtaSet and to do some querys, it should be best to use a DataSet copy of the DataTable. Can some one answer me Please Pedro ...Show All

  • .NET Development Application Cached HTTP Connections

    I have an HTML scrape DLL that is called concurrently to gather info. The DLL uses the following code to fetch a login page : Uri UriCon = new Uri("https://someloginpage.com"); HttpWebRequest Request = (HttpWebRequest) WebRequest.Create(UriCon); Request.Timeout = 20000; Request.CookieContainer = new CookieContainer(); Request.Accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*"; Request.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"; Request.Headers.Add("Accept-Language:en- au"); ...Show All

  • .NET Development Check to see if IpcServer exists

    I have an app that uses Ipc to communicate between instances of the same program. Everything works fine unless two instances are opened in very quick succession. The first would be the one that is supposed to create the server while the second would recognize one has already started and send an appropriate message to the first. However, the code to realize there is another instance running and send a message is shorter than the code that creates the server so the second instance tries to send a message to the server before the server exists. This throws a Remoting Exception. Is there any way to see if the server is running before I try to send it a message I was not able to find that property on my IpcServ ...Show All

  • Windows Forms Export DataGridView to Excel

    Hi I'm new to vb, I'm using VB 2005 I have a DataGridView that i want to export to Excel what is the simple way of doing that Check out the speadsheet xml's SS:Data tag you can specify the type of data. Represent a number: <ss:Cell> <ss:Data ss:Type="Number">123</ss:Data> </ss:Cell> ...Show All

  • SQL Server Error 5 (Access Denied) and Named Pipes Provider error 40

    Hello there, I recently started having trouble with my local SQL Server 8.0 database server. When I try to start it with Enterprise Manager I get the following error: An error 5 - (Access is denied) occured while performing this service operation on the MSSQLServer service. Nothing showed up in the SQL Server error logs. If I try to connect to it using the SQL Server Management Studio that came with SQL Server 2005 I get the following (slightly more informative) message: Cannot connect to (local) ... (provider: Named Pipes Provider, error 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2) I'm not sure which log to look at in the MSSQL folders: MSSQL.1, MSSQL.2 or MSSQL.3. Furthermore, if I ma ...Show All

  • .NET Development Creating a Search using VB.NET and SQL

    Okay, I have ran into a problem with my Search engine for my database i created in VS.NET (phonelist.mdf). I have an <asp:GridView> setup for the results. I have been trying to read up on SQL and implement my own search but here is what i am running into. I launch the program and it runs fine until it gets to MyCommand.Connection.Open() . The error is InvalidOperationException was unhandled by user , The ConnectionString property has not been initialized. Here is my code for the search. <% @ Page Language ="VB" AutoEventWireup ="false" CodeFile ="phonelist_search.aspx.vb" Inherits ="phonelist_search" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 T ...Show All

  • Visual Studio 2008 (Pre-release) luna.blue.xaml?

    Is there a Luna Blue WPF theme available By Luna Blue I'm referring to the teal coloring scheme from Office 2007. I think you are looking for the Luna.NormalColor sdk "The Luna theme is used for Windows XP style and includes three color variants: Blue (NormalColor), Olive Green (Homestead), and Silver(Metallic)." ...Show All

  • SQL Server Include Comments in SQL Script

    Hi, When I generate SQL Script for my database, I wish to include the comments added against each column in the script. But there is no option available where I can specify to include "COMMENTS". Please suggest. Regards, Sudhir Chawla Actually, When you create table and add columns, at that time there is a "DESCRIPTION" field, where we can specify the comments for that column. So how do I include these column level comments to be present in my script. I can add my own comments using -- or /* adjkasjd */, but I wish to include column level comments in my script. Thanks for your advice. Regards, Sudhir ...Show All

©2008 Software Development Network