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

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

dogbrt

Member List

Deerhake44
acctman
qrli
fgarzonhz
Mallyk
hmanner
QWERTYtech
yosonu
singam
chris65
Biju Varughese
vtortola
noyesar
Whoisit
ElliotHC
Info_Peter
roxaz
Vish_All
Tom Janssen
BobConsultant
Only Title

dogbrt's Q&A profile

  • Gadgets Open a webpage in a Flyout?

    Hi I wonder if there any way to open a webpage in my Flyout ! I've something like this: Yes. There's the code, in short, you wait until the flyout is open and then create an iframe within it. gadget.html: <html> <head> <script language="javascript"> System.Gadget.Flyout.onShow = flyoutShowing; System.Gadget.Flyout.file = "flyout.html"; var url = ""; function setFlyout(urltmp) { url = urltmp; System.Gadget.Flyout.show = true; } function flyoutShowing() { System.Gadget.Flyout.document.parentWindow.frame.innerHTML = "<iframe width='500' height='500' frameborder='0' src='"+url+"'></iframe>"; } </script> </head> <body ...Show All

  • Windows Forms Datagridview problems (join and combobox)

    Hi all, how could be possibile to show data coming from two different tables in a DataGridView (VB2005 Express) Please see also http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=872566&SiteID=1 Why if I add a DataGridViewComboBoxColumn into my DataGridView the properties DisplayMember/DataSource are available but if I decide to use a DataGridViewTextBoxColumn column type these properties are not present anymore Thanks in advance. Of course... I exactly did this with DataGridViewComboBoxColumn! I used it to display the content of another table's field based on related ID. Is it not possible to do a such action with a DataGridViewTextBoxColumn ...Show All

  • Visual Basic HELP!! need some help with this error message

    Sub RunTest() Dim TestCases As Object Dim CaseCnt As Integer 'Dim intLoopCnt As Integer Dim varSchedule() As Object 'Dim Fulltest() As Object DBPath = CurDir() & "\BOATesting.mdb" Call GetTestSubjects( TestCases , CaseCnt, varSchedule ) - for the ones are bold are the the ones with errors... I did not know why it giving me that. is there somewhere i need to put in or what ordoes the codes need to be change up or something ) Select Case CaseCnt Case 0 MsgBox( "No test cases currently set up." ) Case -1 Call Run_Continual(TestCases, varSchedule) Case Else Call Run_Schedule(TestCases, varSchedule) End Select Error mess ...Show All

  • Windows Forms Drop down list which you can enter values

    Hi there, I don;t do alot of user inetrface stuff so I'm a bit stumped on this. I want to put a control on a form which is essentially a drop down list (which is bound to a data source) BUT i also want a user to be able to enter another value which is not in the list if they desire. Is this possible and what control do I need Thanks. hrubesh wrote: dropdown style works. in the code, if the user press the f7 key,.. something happens. Private Sub ComboBox1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyDown If e.KeyCode = Keys.F7 Then Me .BillTableAdapter.Insert( Me .ComboBox1.Text) Me .BillTableAdapt ...Show All

  • Internet Explorer Development Internet Explorer (ALL Versions) - OnLoad = Old

    I was just wondering if it occured to you that Internet Explorer, when going to a page it just visited a few minutes ago, reloads page information that was the same as it was when you first viewed that page. Is this problem fixable Because sometimes I can go for an hour or two, and it still shows the same content as it did when I first visited that page. ...Show All

  • Visual C# Number Combinations

    Ok. What I need is a method that discovers all the different combinations of any give set of numbers. For example, if my numbers were 1, 2, 3 all the possible combinations would be 123 132 213 231, ect. Can someone help Check the following links http://www.codeproject.com/useritems/combinations.asp http://www.codeproject.com/cs/algorithms/combinatorial_in_csharp.asp ...Show All

  • Internet Explorer Development IE7 Breaks IE6 Javascript/OWC Client Display

    I have a very large application that uses a Javascript menu with many items and grids created using Office Web Components (OWC 11). In IE 6 everything worked fine, but in IE7 some of items in the longer menus appear behind the grids, making those items unavailable to my users. At first I thought it might be the "windowed" vs. "non-windowed" controls issue (see MS KB article ID# 177378), but then I realized that if that was so then the problem would have occured in IE6 as well. Can anyone shed any light on what is causing this problem and what I might do to fix it This is an app running at a very large and famous corporation (I guarantee you all have heard of it) with over 2500+ users, and this problem needs to be ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Device Texture Handling & Speed in Xna

    Can I assume that most graphics cards (on gamers' computers) can handle textures as large as 2048 x 2048 Is it true that I can load as many of those textures into the pipe as can fit in the card's memory If I will never need to change the textures (or vertex buffers) can I just load all of them up on app start and leave them in the card's memory without having to set them in the device every frame If not, does the card know that it already has the texture in its memory (so skip the consumption of it) If I have one image that is much larger than 2048 and, no matter how I cut it up, each chunk would be unique; Would it faster to set the texture (chunk) and draw primitives on lots of small (256px for instance) quads Or would it be faster ...Show All

  • Visual Studio 2008 (Pre-release) Building forms depending on Metadata

    Hi all, I want to build forms, that change their layout depending on metadata. This includes also custom fields and so on. In Asp.Net I could achieve my goal with custom controls (override Render). Since I cannot see anything like that in wpf, I was wondering how this task could be solved I'd be very very glad for an answer! Best regards Peter Ok, let's say I have a form that the user can enter some info. But it can be possible that there are custom-fields that needs to be rendered. The metadata would then describe what custom-fields and of what type the custom fields are and so on... In Asp.Net I was able to achieve this with custom-controls that used the render-method. But how can I achieve ...Show All

  • Windows Forms Get Item in ListView

    Before posting this i did search but couldnt find a solution so i am asking for help........ again Lets say you had on a ListView 5 Items(user names) and each have 2 SubItems (age, gender). The view is set to Details with click event enabled. Ok if i click on a user name (Item) in the Items list, how can i make the name i clicked on appear in a textBox1 Any useful links would also be great. thanks Im using VC++ deen wrote: with C++ instead of using ' . ' you use ' :: ' and ' -> ' Basically, if namespace and class is encountered, then '::' is used; while '->' is used when the thing before it is a pointer or reference. deen wrote: i shall hit the worlds record for getting the most errors Getting er ...Show All

  • SQL Server SSIS Performance Issue

    Hello, I have been running massive ssis packages and testing the performance. This is my execution design: I have a main package that gets a list of packages to execute from a table. Then using a foreach loop in send the package to execute ( somewhere in the middle i delete the corresponding old log file for that package ), each of the packages configures themselves from the parent package variables. What i have been analysing tells me that for example a package runs in 2 minutes and then the time wasted from the end of the package to the start of the other task is in average 3 to 6 minutes... thats alot... since i run about 20x12 packages witch gives me of wasted time about 20 hours. My question is... what can be causing ...Show All

  • SQL Server SSIS Output on Sql Agent history

    I have been using SSIS for about two months now and one of the main difficulties I have had is migrating Sql Agent SSIS jobs around environments. Usually, the SSIS fails because of permissions to file systems, data bases, etc, but until now, I have had to discover these almost by guessing because the job history never game me any useful information. Also, from what I see, the SSIS logs have been unreliable, at best. What I have done lately is creating Operating System (CmdExec) Steps as part of the job (not SSIS steps) and inserting the output of dtexec.exe into the history. This seems to give me information that has been really hard to get, otherwise. My question is (I am no DBA or ETL expert), is this the best way of getting ...Show All

  • SQL Server Exception_Access_Violation Error?

    Hi all, Our production server had a raid failure, which we fixed overnight. This is where the problem started, at least i think. Now all of a sudden(after the server was restarted) i am getting following error, when one of the stored procedure gets executed (I have more then 200 Stored Procedure and they are all working fine) It does not throw error everytime it gets executed, but randomly it will fail. "SqlDumpExceptionHandler: Process 233 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process" This error also creats a dump file in \MSSQL\Log and logs into SQL Error Log. I also did DBCC CHECKDB suggested by many people on Internet and everything seems fine, in terms of data corru ...Show All

  • Visual C# HELP: How to get a specific data in an XML File.

    I have an xml file. I want to get a specific data in that xml file. The data is enclosed in a CDDATA tags. I want to check each data in that xml file. (actually, it has 17k entries, and each entry has a unique CDDATA data). here is the code I have made: private void button1_Click(object sender, EventArgs e) { XmlTextReader reader = new XmlTextReader("c:\\index.xml"); String url = urlBox.Text; int counter = 0; //This will check if textbox is empty or not if (urlBox.Text == "") { MessageBox.Show("No input found."); } //this is the part where I think I have some error. else while (reader.Value.ToString() != url) { ...Show All

  • Windows Forms Best way to handle shortcuts ?

    Hi, I was wondering if there is a good OO-way to handle keyboard shortcuts. Atm my shortcut handling code consists of a big list of if else if else statements containing switch statements (if/else to detect the modifiers, the switch statement to handle the keys) As you might have guessed, this is ugly and not very clean. I tried using a Dictionary of Keys to Action (a simple void delegate) mapping. but the problem here is that the keys pressed never match those in the dictionary because extra modifiers and flags are present. I was wondering if anyone has any suggestions how to make a decent key to action mapping. Thanks, Ben. Why did you comment out the assignments to ToolStripMenuIt ...Show All

©2008 Software Development Network