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

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

kettch

Member List

Harald Hedlund
DBT
Sleutelaar
Joe Rattz
Vijay_kar
Victor Hadianto
andien_geo
Markus Fritz
Hendro Wijaya
DDarren
Toni Greco
RajaGanapathy
textman
Louisd
Peter McEvoy
dkcycovery
Troy Lundin
xgalaxy
zzattack
IXOYE333
Only Title

kettch's Q&A profile

  • Internet Explorer Development IE 7 opening to Run Once page with error on it.

    I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. So what do you recommend I do Uninstall IE7 from my computer and download another version as I originally got the beta version. Then turn of my security center and install it. ...Show All

  • Internet Explorer Development opening new tab in IE7 via IHTMLWindow2::open method. Possible?

    hi i need to open new tab in IE7 from my extension code and to get an IHTMLWindow2*, pointing to this tab. Exactly tab, not a new window. Is it possible to do it via IHTMLWindow2::open method or are where any other ways to do it from extension I walked through some docs and forums and heard opinions that a place(new window or tab) in which IE7 opens pop-ups (as ones created by IHTMLWindow2::open) is controlled by user settings and extension can't change it Can't anyone tell is it so So sad if it is.... Than you in advance. "4) Setting tab active I havn't found a way to do it :(" How about if you would set one of the tabbrowser windows visible and hide the current one ...Show All

  • Visual Studio Tools for Office Converting between VS 2005 papersizes and Microsoft Office Papersizes

    Hi, I want to allow a user to select from a list of avaliable paper sizes avaliable in MS word. is there anyway to get the list of paper sizes from word in Visual Studio 2005 I would like to be able to convert from: System.Drawing.Printing.PageSettings.Papersize to Microsoft.Office.Interop.Word.PageSetup.PaperSize Then i could do somthing like this: System.Drawing.Printing.PrintDocument PrintDoc; Microsoft.Office.Interop.Word.Document WordDoc; WordDoc.PageSetup.PaperSize = PrintDoc.PrinterSettings.Papersizes[2]; because the System.Drawing.Printing.PrintDocument has a list of paper sizes I can fill out a combo box for a user to select from. Does Microsoft.Office.Interop.Word have a list of papersizes h ...Show All

  • SQL Server SQL 2005 -> SQL 2000

    How can I export my database from SQL Server 2005 to SQL Server 2000 Restoring .bak, does not work. I'm lost here. I have created a db on my dev machine which runs SQL Express 2005 and I wouldn't have ever dreamed that you can't transfer data from SQL 2005 to SQL 2000. There's even a setting to set compatibility of the db (and I have it set to SQL 2000) which doesn't help at all. Maybe you can suggest an intermediate format to use For example, with mysql you can easily export the whole db (structure + data) in one text file. I think there should be a way to at least export db structure from SQL 2005 and then import it to SLQ 2000. SQL Server Management Studio Express (which I use with my SQL Express) allows me to copy-paste the data in d ...Show All

  • .NET Development Underscore Problem?

    Ok, I'm trying to write what should be a simple regex to parse some information out f emails. The problem is well... strange. It'll be easiest to show by example. Here's the overall regexp: name:\s( <contact>[\w\s]*)\nemail:\s( <contactEmail>.*)[.\n]*community_name:\s( <location>[\w\s]*)\n Here is the text I am trying to match: name: Bob Bobson email: name@address.com community_i_live_in: apartment community_name: Vanilla Hills address: 101 Sprinkles St apartment: 302 username1: bbobson password11: texas1 password12: texas1 username2: password21: password22: phone: 555-555-5555 corporate_apartment: no corporate_id: Now, the regexp doesn't match this. However if I take part of the regexp and run the ...Show All

  • Visual Basic migration from TrueBasic

    I All I have the following conversion problem.  In TrueBasic (an old structured Basic) nested routine were allowed. Look, for instance, the the following Module main       Sub XXX() Dim a Sub ZZZ() Dim b End Sub End Sub Sub YYY()       End Sub End Module     In the above fragment the variable "a"  and also "b" are seen from both XXX and ZZZ( this last is the nested procedure) but not from YYY. I do not succeed in reproducing this behavior in VB.net but I know that with all that power ( class, structure , module,etc) it is surely possible. Please, can somebody help me   thank in advance   Federico ...Show All

  • Architecture What object is responsilbe for an action? A Design Question.

    Hi, I have a project where I have a ValidationCase object which contains ExceptionEntries collection of ExceptionEntry. I start off with a ValiationCase being populated already and presented on a GUI and the client user works on it: The client user does some manual checking on the ExceptionEntries, decides that they are okay and flags the ExceptionEntries as a Valid state. The client user then does a save on the ValiationCase (ValidationCase.Save()). This call goes to the db and does the persitence mechanism. It is determined that all ExceptionEntries at this point are Valid so the ValidationCase is flagged as a "Valid" state. Due to the ValidationCase being flagged into a Valid state, there is a side effect where ...Show All

  • Visual C# Multiple Projects

    I have two projects under one solution. Each of these projects opens the same bound database, Is there any way I can use a common routine to assign the bound database and which app.config should it be in. Add a Reference to your data-access project to your other project (make sure it is a project reference). Now you can call public methods on the referenced project. Example: In Project 1: public static string GetString() { return "!"; } In Project 2, which references Project 1: public static void Main() { Console.WriteLine(Project1.GetString()); } ...Show All

  • Visual Studio Express Editions Capturing form dimensions

    Hi all, One of the things I'm trying to do with my current project is to preserve the most recent dimensions (x, y, w, h) of all the forms upon user exit. And then, when the user runs the program again, the settings are restored. Currently, I'm using the StreamWriter to send the form dimensions to a text file. This seems to work fine for my "main" window ("Me." below), but for some reason my other form ("OutputConsole") only holds the orginial values for the form when it was instanced. In other words, the values don't seem to be changing when I resize and reposition the window. What ends up happening is, the main form settings are captured, but the "OutputConsole" is only capturing the initial ...Show All

  • SQL Server Hierarchy Member MDX Name

    I created a 'Budgeting Time' hierarchy from a dimension table that looks like: ID Year Month 08C5DC29-6E61-4625-BA20-CFDFE5D3232D 2006 Jan KeyColumns is binded to Year/Month and so is NameColumn. The MDX representation of the year 2006 is now [Budgeting Time].[Budgeting Time].[Year].&[2006] but is there anyway to have the ID as the member identifier so the MDX looks like [Budgeting Time].[Budgeting Time].[Year].&[08C5DC29-6E61-4625-BA20-CFDFE5D3232D] If your entity can equally be uniquely identified either by ID or { Year, Month } pair you can choose ID to be the key column of your attribute. MDX code refers to unique names, which often use the key column ...Show All

  • Gadgets File upload with Sidebar Gadget

    Is there any possible way to upload a file through a gadget I am creating a gadget that takes a word document or .txt file as input, post that to our servers and then we display information to you every day based on that information through the gadget. (the user gets a infoId that will give them their own customized info) Any ideas would be appreciated. Thanks. Thor. Got to be a problem with your PC. It certainly works on my Vista - which is RTM. Perhaps it doesn't on RC1. Time to go RTM I think. When you say "LoadFromFile gives me false", what do you mean - it doesn't return a value. ...Show All

  • Visual Studio Express Editions "Registration benefits" email is broken

    So I just got this "Thank you for registering" email from MS that has links to the Registration Benefits portal. Great, but the portal links are broken. It takes you to a login page. I login. Then it goes to a "Page Not Found" error page. Anyone else getting this The link in the source of the email is a forwarding link, not a direct link. I just want to get to the registration portal, but alas, I cannot :( Also, as an aside, the icons they suggest downloading are indeed "royalty-free", but they cost over $200 to buy. I had the same problem a while back, and did what Andreas said and that fixed my problems, so do exactly as Andreas says. The reason you have to go ...Show All

  • Visual C# Getting *nix Server uptime..

    Lets hope i can explain this... I have to monitor 15+ servers daily, all running *nix based OSes.. I wanted an easy way to monitor their load and swap usage, (which can be watched via the 'top' command). I was going to create a windows forms application that connected to each server and ran the uptime/top command constantly and had labels for each server on the main form that would hold each servers result, using SharpSSH client library but this didnt work out so good.. (cross thread problems/resource intensive).. I was wondering if anyone could offer any advice on another way this could be done I dont/cant run any sort of deamon on each server, nor can i use SNMP as that provides its own problems, if anyone can offer any ...Show All

  • Architecture How can you model this without a circular reference?

    This might be in the wrong forum; sorry. I have a really tough data modeling problem, and I'm dumbfounded. I hope there's somebody with an idea. The problem really deals with aquatic habitat and vegetation, but I'll frame it in a more familiar context. It's a very common scenario. An employee works for a company. The employee is assigned to a project. --------- --------- -------- Company --> Project --> Client --------- --------- -------- | | | | ---------- ------------ Employee --> Consultant ---------- ------------ If you add this "consultant" relation between employee and project, isn't that a circular reference Doesn't that violate like 4th normal form or something Is ther ...Show All

  • SQL Server insert only time

    Is there any way in SQL Server 2005 to store only time and not date Even if there is no datatype which supports it, is there a round about way of doing things well. . . time is just a fractional protion of a date, right store as a float, or a real or a decimal. . . actually I think a decimal(12,12) should give reasonable precision. select cast( 1.00000000/24.00000000  as datetime) go select cast( 2.00000000/24.00000000  as datetime) go select cast( 3.00000000/24.00000000  as datetime) go yields: 1900-01-01 01:00:00.000 1900-01-01 02:00:00.000 1900-01-01 03:00:00.000 you can disregard the date part   ...Show All

©2008 Software Development Network