Jason D. Camp's Q&A profile
Visual Basic Default(s) for replacements
Is it possible to have multiple defaults for a replacement For example, click a button while on the green replacement field and the second default is shown. I am using VS2005 std, win 2000. There is currently only one default replacement allowed for the markers. Also, adding snippets is not currently supported in the xml editor. I will forward your suggestions on to the the teams. Best Regards ...Show All
Internet Explorer Development IE7 RC1 isn't registering any event handlers inside of <input> boxes
like the topic says, IE7 RC1 isn't registering any event handlers inside of <input> boxes. window.onload() works, while onchange() or onblur() or onmouseover() inside an <input> form field does not. need i say more i just submitted the bug through beta client already, thought i would share to make things move along more quickly. regards, Leon i'm having problems w/ms connect. and i have no history that lists the #of the bug in the beta client. i posted a bit ago regarding this which can give you more info, the issue has been sort of verified by other CodingForums members. http://www.codingforums.com/showthread.php t=96348 is there a way to look up a history of submitted bug #'s in the beta client thanks, Leon ...Show All
SQL Server Url Question
Is there a way to access the url of the page that you are on in a report I notice that you can access the report server url, but I need to read a page url and access it in the report. Is this possible No, I don’t think do, but what you can do is to compose your current URL via the ReportServerUrl , ReportPath, ReportName and Parameters that were called. YOu would have to put that in one complete expression. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Commerce Server Loading And Updating The Commerce Catalog
I would like to ask for advice on loading the Commerce catalog from an outside source. Let me first explain how we are currently doing this and ask for comment on how we could do it more effieciently as it now takes an unacceptable amount of time to load it with a lot of data. First, our site is set up for multiple stores. Somewhere around 1000 stores will be loaded into the system, currently there are a little over 300 stores. All stores share the same basic product data, or master catalog, however, not all stores sell the same products and each store has its own pricing. Therefore, we have created a BaseCatalog containing all available product data. Each store is then setup with its own VirtualCatalog which contains just the products ...Show All
.NET Development How to specify a custom eventlog in app.config
Hello all, I'm trying to learn about .NET configuration files. I've setup my app.config file to log to the EventLog (apparently to the application log). I'd like to know how I can tell the configuration file to create my own custom event log instead of using the application log. Here is my configuration file. < xml version="1.0" encoding="utf-8" > <configuration> <configSections> </configSections> <connectionStrings> <add name="DBConnectionString" connectionString="TESTSTRING" providerName="System.Data.SqlClient" /> </connectionStrings> <system.diagnostics> <sources> <!-- This section defines the logging configurati ...Show All
Visual Studio Debug C# code and VB
I've tried to debug C# code with my VB6 project with no success. I wonder what settings I need to set in VB6 and VS 2003 environments. My VB project is referenced to C# code using late-bound method. Thanks! When using COM interop to call C# .NET code from VB6, you need to attach to the VB exe process from VS 2003 (Tools menu -> Debug Processes...) You can set breakpoints in the C# code by adding the following lines: #if(DEBUG) System.Diagnostics.Debugger.Break(); #endif ...Show All
Internet Explorer Development IE7: How to detect Tab coordinates to make it active by call SendInput ?
Hi, I know IE main window handle, i can get HWND for any IE subwinow... My BHO know IWebBrowser2 interfaces for all active tabs... But how to detect coordinates and size of specific tab (to emulate mouse click by SendInput call) ...Show All
Visual Studio 2008 (Pre-release) What is SyncDirection.Snapshot?
What is SyncDirection.Snapshot and how it is used In addition to the reasons Michael mentioned, Snapshot doesn't require any change tracking meta data on the server. So, if you're synchronizing a table that you can't add a LastEdit type column to because you can't make schema changes, you can still synchronize data with the Snapshot option. Steve ...Show All
.NET Development XSLT to Excel transfer slow when using large data files
I am attempting to transfer an XML file to an Excel File using XSLT. I am using XmlDataDocument and it slows down greatly on large data sets. A workaround was found on MSDN: http://support.microsoft.com/kb/318580/EN-US/ , But I am not sure how to implement it. Below is what I am currently using: <% @ Page Language = "c#" %> <% @ Import Namespace = "System.Data" %> <% @ Import Namespace = "System.Xml" %> <% @ Import Namespace = "System.Xml.Xsl" %> < script language = "C#" runat = "server" > public void Page_Load ( Object sender , EventArgs E ) { string reportname = Request . QueryString [ "Name" ]; string xmlpath = "e:/Program Files/Apache Software Foundation/Tomcat 5 ...Show All
Visual Basic I'm making a conversion program...
For those of you who know me, I've finally settled on an idea for a program. It converts (for starters) from anything that ends with meters (you know, centimeter, millimeter, kilometer) into anything else that ends with the word meters. You get the idea. I'm useing combo boxes, and I need to assign values to the names in the box, so they can be multiplied. Like, the selection (this is exactly what it looks like) "centimeter(cm)" needs to be assigned the value 0.01. How do I do that, and make it so that when one thing from one box is selected, and one thing from another box is selected, and a button is clicked, they get multiplied together Thanks. try this: Private Sub Form1_Load ( ByVa ...Show All
Visual C# Controlled Shutdown of a Consol Application
Sorry if I have posted this in the incorrect section, but I wasn't sure where to post it, and as I am coding in C# I decided to put it here. The Issue I have several console application which need to perform a controlled shutdown. I create the Console application form code and store Process objects for each process created. I need to be able to tell if the process is still resoponding and hope to use the call Process.Responding to determine this (after first calling a Process.refresh()). When the creating application is told to it needs to shutdown the application in a controlled manner to allow for tidying up of resources and closing sockets. As such I am hoping I can call Process.CloseMainWindow. In both cases I have made the assumption ...Show All
.NET Development SMTP Mail without SMTP Service
I have a requirement for an email program to send SMTP mail without having IIS (and therefore no SMTP service) installed on work stations. I found a nice solution to this at http://www.eggheadcafe.com/articles/20030316.asp . I modified the code to fit my needs and it works. However I have a couple of issues. One: How do I cause the SMTP server to send out delivery notifications on failure and success This is pretty easy using the DeliveryNotificationOptions of the System.Net.Mail.MailMessage class. But of course I am not using this. Two: How do I send authentication or system credentials to the SMTP server Again, this is pretty simple using the System.Net.Mail.Message class. Example code: IPHostEntry IPhst = Dns .GetHost ...Show All
Smart Device Development Device Emulator Crashes after getting connected to Active Sync 4.5 Beta
Hi, Following is the description of the problem. 1. We've installed Device Emulator from http://www.microsoft.com/downloads/details.aspx FamilyID=c62d54a5-183a-4a1e-a7e2-cc500ed1f19a&DisplayLang=en location. 2. We are using ActiveSync 4.5 for connecting this device emulator. 3. The moment we connect it, teh device Emulator crashes. 4. In other scenario, the Device Emulator works fine but after some time it crashes. Can anyone help why this may be happening Thanks Mukhtar Can you send me some specifics about the crash A register dump plus callstack would be great. If you're not sure how to do this, please let me know. Also, to get unblocked, you might try the V2 Communit ...Show All
Microsoft ISV Community Center Forums excel worksheet interface coding
Hi all, Im looking to create an interface for a worksheet in excel. Basically I have an interface (sheet 1) with drop down boxes and go buttons. In sheet 2, Column A has a list of names i.e. "J Smith", "R Peach" ETC What I want to do is for one of the drop down boxes to go to "sheet 2" and select all the data in Column A, auto filter it so that there is only one instance of each name and bring that into the drop down box list How do I do that THEN I want to be able to pick a name from the drop down box on sheet 1 and when I press the go button, filter this on sheet 2. Also the go button should take me to sheet 2 and show me the filtered Column A based on the chosen name Please help, I think it is sim ...Show All
Visual Studio Express Editions EOF with Program Resource?
I'm stumped. I'm including several text files in my program's resources. I'm trying to read those resources until the EOF. Here is my code: Private Sub fileRead() Dim txtLine As String FileOpen(1, My .Resources.abcd, OpenMode.Input) While Not EOF(1) txtLine = (InputString(1, 1)) strLesson = strLesson + txtLine End While MsgBox( "" & strLesson) End Sub But, I'm getting an error "PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters." I found information on how to parse the path, and tried this: Pr ...Show All
