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

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

jellofissi

Member List

de_Stan
SEMuser
Dan Cooperstock
Aaron13
fibonacci1123
Sara_H
Timeware
arvin88
Yustme
yhong
sofakng
OfF3nSiV3
NeederOfVBHelp
ss0979
satya999
Rajavanya
rayfusion
kyus94
QWERTYtech
Peacebringer
Only Title

jellofissi's Q&A profile

  • Visual C# How to use static class in Class Library (C#)

    I wrote a IE extension with c#, function is working, but I want to share a global flag in different IE , I used static class, it works in different tab in same IE window, but don't work in different IE window. SO What can I do [Guid("xxxx--...")] [BandObject("QToolBar", BandObjectStyle.Horizontal | BandObjectStyle.ExplorerToolbar | BandObjectStyle.TaskbarToolBar, HelpText = "QTool.")] public class QToolBar : BandObject { private void InitializeComponent() { if (CGFlag.m_bLogin) { .... } } } static class CGFlag { public static bool m_bLogin = false; } Hi, i think the problem is, that the different IE windows are different processes so you mu ...Show All

  • Visual C# Problem with handling keyboard input

    I have the following code: [CODE] .... public static int keypressed = 0; private void button1_Click(object sender, EventArgs e) { while (keypressed != 1) { DrawProc(); } } private void Form1_KeyPress(object sender, KeyPressEventArgs e) { keypressed = 1; } .... [/CODE] DrawProc is procedure that keeps drawing pixels on my screen and i want to stop it by pressing any keyboard key but it dosnt work. After program goes into drawing cycle it stops responding to keyboard (KeyPress event never occur). Can anyone help me please Hi, call DoEvents in your loop that will process the message queue so your key press event can be handled. -- Sve ...Show All

  • SQL Server Formatting Currency Numbers from Analaysis Services

    Hi, I'm using Reporting Services in conjunction with Analysis Services. The problem I'm having is formatting numbers to be dollar amounts. I know how to set this in Reporting Services and when a data source was regular SQL, then everything was just fine. However, when I switch to Analysis Services the number would just stay the same. i.e. "60.2" instead of "$60.20". The only thing I can think of is if Analysis Services is returning the number as a string for some reason, and RS won't format strings for currency. Any thoughts Thanks! I think this is the problem: the numbers that being returned are attributes not measures... which is right b/c I'm using the numbers as parameters for drill ...Show All

  • Windows Live Developer Forums custom doesn't cleanup after switching between Hybrid and Road views

    I seems to have problem cleanup the custom map once I switched between Hybrid and Road views. The custom map layer works good when first call it up (in Road view). It's still good if I zoom-in or zoom-out right after callup. But if I switch to Hybrid view, then switch back to Road view. Then anytime I zoom-in or zoom-out, there seems to be a left-over custom layer staying around (a fixed size rectangle with custom map). Any idea what may be causing it The code I have was cut/paste from the sdk, except I changed the .png path and the lat/lon location. When I run the sdk sample with the same steps, it works fine, without the cleanup problem. My custom map folder was created using MapCruncher. Derr ...Show All

  • SQL Server Conditional split with dependence?

    I have setup a SSIS package that takes a flat file fixed width input, and stores it to two SQL server tables in the same database. The flat file contains two types of records, lets call them Type1 and Type2. The two types of records are formatted differently, and the first character determines what type the record is. I used a conditional split to send record type1 down one path, and type2 down the other. On each of those I use a derived column task to build all the fields and then store to the table with the OLE destination. I put any errors that occur (like truncation) into an error table by setting the "redirected row" feature vs "Fail Component". This all works well and I have no issues. The dilema is as follows. ...Show All

  • Windows Forms Spalsh Screen

    Hey, In in properties of a project how do you select what form you want to be a splash screen I used the help in the compiler but I could not get an answer that worked... Thanks :) you cant scroll down...(Visual C# 2005 express), the only options I see in that tab are: Assembly name, Default namespace, Output type, a button that says Assembly Information, Startup object, and then the resources groupbox, and that only has the set icon and Resource file setting. thats all thtas in there... Startup Object is a combo box with only 2 options: (not set) Surfscape.program Thanks :) ...Show All

  • Visual Studio Express Editions error 1325 during install

    I receive "error 1325. 'Programming' is not a valid short file name." when I attempt to install Visual C++ 2005 Express. Long story short: The prior version I had installed is on an external drive, when another CD drive was installed the drive letter for the external drive changed. When I attempted to use the program it failed to start up. When I tried to uninstall the program the add/remove program couldn't find it, then told me it was probably already deleted and deleted the entry in the add/remove list. Now when I try to install a new copy it still points to that folder ('Programming' - which doesn't exist anymore) and fails to complete the installation. All of the directions for unistalling the program use the add/remove prog ...Show All

  • Visual C# What is "\n"? Any difference from "\r"?

    I know "\r" indicates a sentence break. Then what about "\n" HtmlText = HtmlText.Replace( "\r\n" , "\r" ); HtmlText = HtmlText.Replace( "\n" , "\r" ); HtmlText = HtmlText.Replace( "\r\r" , "<p>" ); HtmlText = HtmlText.Replace( "\r" , "<br>" ); In the above line, since "\r" is to changed into "<br>", why should not directly change "\n" and "\r\n"directly into "<br>" http://west-wind.com/weblog/posts/1499.aspx \r is carriage return ( in DOS mode, used to bring cursor position to the beginning of a line ) ...Show All

  • Windows Forms mdiparent not resetting mdichild position

    Hi all. I'm facing a curious problem. I have a vb.net application using mdichildren. All the children are opened nicely in a cascading style, just as expected. Now lets say that I've opened six mdichildren and they've all been placed inside the mdiparent in a cascading manner. If I now close all of them and open a new one this new one will be located inside the mdiparent but still in a position that would be normal if I still had the six previous ones opened. To me it looks as if there's a counter or something that I'm not resetting when I'm closing the mdichildren. Can somebody help me with this challenge cheers Harry like follow you can reset mdilayout to cascade, all midchild forms would be reorder Pu ...Show All

  • SQL Server How to : Truncation : Can i write a log entry whenever data is truncated?

    I'm reading data from a flat file source. If some data gets truncated, i have the option of 'ignoring', 'redirecting' or 'fail component'. What i'd like to do is, to allow the data to be truncated, but i'd also like to write a log entry so that i can know that a particular rows data has been truncated. I've tried 'redirecting' the row to a script component (as transformation), but i don't know how to determine if the error is truncation or not, not only that, i can't redirect the row back to the 'original' flow, which is a derived field column. Any ideas on how to do Cheers. Jamie Thomson wrote: That kind of dilutes the generic nature of the logging infrastructure. now you're talkin ...Show All

  • SQL Server Data access using Ent. Library Jan. 2006 release

    Hello ... Using Ent. Library Jan. 2006 release and .Net Framework 2.0, I'm connecting to SQL Server 2000 using Microsoft.Practices.EnterpriseLibrary.Data.Sql. I have a windows service that processes jobs asynchronously and from time to time, I'm getting the following error -- "A connection was successfully established with the server, but then an error occurred during the pre-login handshake. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (TCP Provider error: 0 - An existing connection was forcibly closed by the remote host. " What's surprising is the error message saying SQL Server 2005. Has anyone encountered a ...Show All

  • Visual Studio Express Editions runtime error i need help

    the error occured when i run the the exe file (BF2.exe) then what happen is, it says this error microsoft visual C++ library runtime error program:D:\program files\EA games\battlefield 2\BF2.exe this application has requested the runtime to terminate it in unusual way like that. plz lend to me ur knowledge on how to fix this error.. tnx in advance^_^ So I guess the bug is introduced in the new version. Give the vendor exact information which version has the bug. -- SvenC ...Show All

  • SQL Server Microsoft SQL Sever management Studio: Failed to open connection dialog

    Does anyone encount the following problem before When I tried to connect to Microsoft SQL server 2005 with MS SQL Server Management Studio, I received: "Failed to open connection dialog" message with additional information is "Package 'Mircrosoft SQL Server Object Explorer' failed to load. This's just happened recently. Although I am receiving that message, I still able access into database with different types of connection. Can someone shred some light Thanks Tommy. Good morning ( or afternoon for me ) Goo and helpful answer whether you have the cd disk but if you have downloaded from Microsoft (for example Express Edition or School version ), i think i must contact ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpaceWars SceneItem implemenation

    I've been going through the code files for the SpaceWars sample game. I was somewhat confused by the SceneItem class, because it inherits from List<SceneItem>. This throws me off because I wouldn't expect a "scene item" "is a" list of scene items. Does anyone have any insight into the logic here Seems like that would work. THe only problem I see is that by putting the calculation inside a property you force the calculation to be done avery time you access it. Normaly the hierarchical scene items such as position are updated once per frame with a walk of the tree. Then when you read the value there is no extra calculation. ...Show All

  • Internet Explorer Development Bug (?) with select lists, onclick, and classname

    Hello! This is my first post to this forum. I'd like to say hi to everybody, and thank you all in advance for any help you can give me. Here's the situation. I have a table, with various form inputs inside it. I want to be able to highlight the row and cell the input is in. Using 'onclick' (in the td tag), I call a function that changes the className to a highlighted state, while simultaneously resetting the previously selected row to its unhighlighted state. (I hope that made sense.) Anyway, the problem was that if I have a select list in the td, then when I change the className, the select list "closes" (but retains focus). Please see the following example, which shows the problem (in IE7). <!DOCTYPE html PUBLIC "-//W3C ...Show All

©2008 Software Development Network