Tryston02's Q&A profile
Visual Studio Express Editions concerning media player
renee where do I post pause button code sorry.cant do that..... I,m trying to learn vb here ..not word....sorry u cant teach an old dog new tricks.....it looks right in wordpad but when pasted it not......lol renee.....I have never used office in my life ,it dont interest me....its like me trying to teach you to plaster a wall give me a break....please....aint I got enough on my plate ...Show All
Visual Studio Express Editions Overloading Operator & CType Function: No Error, No Warning,No Message & No Oupt
Hi all, I executed the attached code that was copied from MSDN: How to: Use a Class that Defines Operators (or Overloading the Operator) in my VB2005 Express. I got the Form1 appeared on the screen, but no MsgBox, no Error, no warning, no message and no output I expected. Please help and advise. Thanks in advance, Scott Chang Imports System.Data.SqlTypes Public Class Form1 Public Sub setJobString( ByVal g As Integer ) Dim title As String Dim jobTitle As System.Data.SqlTypes.SqlString Select Case g Case 1 title = "President" Case 2 title = "Vice President" Case 3 title = "Director" Case 4 title = "Manager" ...Show All
Visual Studio Express Editions Compliled VB.NET application takes too long to load after a cold boot?
Hello, I have completed and deployed a compiled version of a vb.net application. What I'm finding is that when I run the compiled program for the first time after a cold boot, it takes about 2 minutes to get a response from the app sitting at the splash screeen, and then after 2 mins or so the response is usually a Timeout message. If I try to run the app again, it loads in less than 5 seconds. Why does it take so long and timeout after a cold boot When I debug the App load event, I can never produce the error because it takes that much longer to step through the code. In my visual studio 2005 ide, I have 12 references to dll's, but when I look in my bin\debug folder, I only see 2. (Could that be the issue ) I'm using SQL Ex ...Show All
.NET Development Read Attributes from a Config file
How do i read the attributes from a config file . The file is < BCDTravel.Renaissance.Provider.Inventory.Ground.GT3 > < Authentication BookingServiceID = " RENAIS.T1z " LicenseKey = " dxm38i11n3idk32k33de " AuthenticationToken = " 3928732935757383 " /> < CorporateClient CompanyCode = " Comp1 " CompanyName = " Comp USA " PhoneNumber = " 404-911-9090 " /> </ BCDTravel.Renaissance.Provider.Inventory.Ground.GT3 > I want to read BookingServiceID,LicenseKey etc.Not the values just the attribute names My code is Configuration Config = ConfigurationManager .OpenMappedExeConfiguration(configFile, ConfigurationUserLevel ...Show All
SQL Server Assistance in connecting a SQL Server Client to SQL Server sitting in a shared environment
Hi, I need to connect to a SQL server thats running in say abc.trident.com and also sits in a shared environment.. I have couple of questions 1) That SQL server is accessible from my network, yet when I swtich on my enterprise manager I am unable to view that in the list of running SQL servers in the populated list. Is it because its sitting in a shared environment I am unable to view that 2) What is the connection striing I should use to connect to the server..When I try to configure a SQL server registrations it normally asks for SQL Server name along with the user authentication Should I mention fill the Server: field as abc.trident.com or // abc.trident.com/abc.trident.com to connect to the clus ...Show All
Visual Basic Bizzare problem! IDE won't accept any changes.
Something very bizzare is happening and I have no clue as to why. Whatever changes I make to a form in the IDE whether it be adding a button, removing a button, or changing the text (title of the form), it will show in the IDE designer. But when I run it, it's as if none of the changes were made. A button I removed is still there and the code behind it still executes although I commented that code out. Saving the files doesn't fix it. Closing the solution and reopening it doesn't fix it. Exiting Visual Studio altogether and restarting it doesn't fix it. And restarting Windows XP doesn't either. It's as if my application is stuck where I left it last night. When I reboot everything, launch Visual Studio, and open the sol ...Show All
SQL Server SMO Thread Issue
Not sure exactly what to title this but here is my situation. I am using SMO in a portion of my code to dynamically create a database and tables based on runtime data. When I start my application and press run the first time no problems, everything is just fine. When I press stop and then start a second time my code drops the previous database table(Thanks Jens). and creates a mew database and new tables. But, the code will create the table and has issues reading the table collections(I tried to look at the getSchema("Tables") command and it could not be found. (From manager I can see the table does exists, but the code says it cant find throwing table does not exist errors. Any ideas This only happens when the first thread is ...Show All
Windows Live Developer Forums Virtual Earth Maps on Safari for MAC
I am facing following issues when I access VirtualMap using Safari for Mac. >> Javascript Errors >> Maps are not displayed. Is VirtualEarth API compatible to use with Safari, If yes, please can you tell me how And where we can find more information about it Atlas is a complete and total hack to try and implement non-standard Microsoft cruft in the Firefox DOM. You can easily get VE to work on Firefox without Atlas. Microsoft is not selling an Internet Explorer add-on, they are selling a mapping product. And once again, Microsoft could very easily support most, if not all, of the browsers currently in use by spending a couple hours modifying their code. The don't need my help. They ...Show All
SQL Server Copy table Structure including primary keys, index etc.
Hi all, I was wondering if there is a SQL command to copy the table structure of a table that includes primary keys, foreign keys, indexes, etc. Thanks and have a nice day to all Hi, The easiest way to create the script is to right click the original table within SQL Server Management Studio and select "Script Table As ...\ Create To\ ..." . This will create a script for the table and its indexes. Then you need to run the script but with the new tablename. After that, you need to copy the records using a insert/select command. (it is best to set the constraints/indexes afterwards). Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal B ...Show All
Game Technologies: DirectX, XNA, XACT, etc. using System.Xml bug
I'm making a new game and I added the BitmapFont.cs file to the project, but its causing an error. // BitmapFont.cs // ... using System.Xml; Error 1 The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference ) I also tried manually typnig in the "System.Xml" to see what telesense would do. It only showed until "Web" and then stopped. What's even weirder is that I can go back to the other game I made and it shows up on the telesense there. Any ideas George Clingerman wrote: [Edit: LOL! Looks like Jim beat me to the punch! Sorry about just repeating what he said, he seems a bit quicker on the &q ...Show All
Visual Studio 2008 (Pre-release) FlowDocument Figure Legth convertion
Hello, may be you can help me with this. I've a Figure in a FlowDocument and it width's value is set to Auto. Now I want to determine the value of its but in pixels measure. I've try FigureLengthConverter but it seens to be not the solution. The only thing I want is to know the Height value in pixel of a Figure that has it's height set to Auto. Thanks a lot !!! There is an answer and explanation for this here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1056459&SiteID=1 but there are a couple errors in the example, so I will post an updated one: IDocumentPaginatorSource dps = viewer.Document as IDocumentPaginatorSource; DynamicDocumentPaginator ddp = dps.DocumentPaginator as ...Show All
Windows Forms Changes made in designer not propogating to code
My project seems to have gotten into a state where the designer is no longer in sync with the code behind it.. The first thing I noticed, is I dragged a new control onto the form, set the properties, and then went to use it in my code and I got the 'is not declared' message so I checked the formname.designer.vb and there was no declaration for the control I had dragged onto the form, but I can still change properties and such in the designer .. However, when I do a build it disappears from the designer. Then I noticed that if I rename a button, it doesn't change the name in the code, and the rename goes away if i save / exit / restart .. Or if I do a build .. If I start a new project I don't have this problem, but I'd prefer not to h ...Show All
Visual C# Passing values into EventArgs when a button is clicked
I am currently building a shopping cart application using C # in VS2005 where there are 10 items to select from. There are 10 "Add to Cart" buttons, when clicked, will trigger a single method. That single method will either add a row (new item), or update the quantity (old item). In my existing code, i loop through each row in the DataSet to determine whether i should add a row or update a row. Is there a way to store the item information (name, description and price) in EventArgs so that when the "Add to Cart" button is clicked, the item information is passed to the single method using EventArgs I am aware that i can create my own EventArgs class that inherits the EventArgs class but is there any way to store my it ...Show All
.NET Development How can I parse an SQL statement into a canonical form ?
Is there any class available (either in the framework or external and in that case preferably open source) that can be used to test whether two sql statements are equivalent or not (equivalent regarding irrelevant white space, parentheses, and upper/lowercase for keywords) Basically, what I would like to do is to find a class (below called SqlParser)that I can use like this: string sql1 = SqlParser.getSqlStatementInCanonicalForm("SELECT mycol1 FROM mytable where mycol2=1 and mycol3='abc'"); string sql2 = SqlParser.getSqlStatementInCanonicalForm(" sEleCT mycol1 frOM mytable where ( mycol2 = 1 ) and ( mycol3 = 'abc' ) "); NUnit.Framework.Assert.AreEqual(sql1, sql2); / Tomas Paul P C ...Show All
Visual Studio 2008 (Pre-release) How to ... RichTextBox
Hi, I am using a richtextbox control and upon selecting a portion of the text on the control i need to find if the selected text is bold or not... similarly i need to do the same for the rest of the property like Italics, underlined... and so on... The code below gives me the text selected : ********************************* rtbWordDocument.Selection.Text.ToString() *********************************** But how do i find the properties / style of these selected text ~Ram you need to keep in mind that if the selection has normal and bold text then you cannot you wont get the property....other than that lee's soln will work ...Show All
