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

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

TRTwiggy

Member List

Houng Fan
Tazz72
ReneeC
Ron Luebke
eulalie_nath
Heenix
blue56789
RickGaribay.NET
Heinz Krug
JavaBoy
Atulpatel
Enkht
BryanCaf
MasterJ
Gravy
Minherz
Stéphane Beauchemin
Craigton
lord_o_jesus
Indigo Cowboy
Only Title

TRTwiggy's Q&A profile

  • Visual Studio fetching information from visio and using in visual studio

    HELP..... ok this is the scenario: I have just made a UML diagram or class diagram and saved it in visio. Now what i want to do is find out how i can dynamilcally, using coding in C# or VB.NET, load the document in my programs and fetch information from it. Examples of the type of information i want is : class name, attributes, function names...basically the entire shema or metadata about the class diagram created in visio. please assist in any way possible >If you are looking to write code that interacts with Visio I would suggest that you take a look at the Visio SDK > http://msdn.microsoft.com/library/default.asp url=/library/en-us/vissdk11/html/Doc_Summary_HV01083292.asp Ac ...Show All

  • .NET Development Slow Opening Initial Internet Connection in console application

    Hi, I have a console application which should read xml from the Internet at some point. I've noticed that it takes plenty of time (between 10-15 sec) for initially "setting" an Internet connection via the console application. The same code works instantly in a asp.net web project. The example below illustrates the problem: It takes 14 seconds for step 1 and 0,0 seconds for steps 2 and 3. All files on server are really small (about 1 kb each - 10-15 lines) using (System.Net.WebClient wc = new System.Net.WebClient()) { //step1 wc.DownloadFile("http://somedomain/test1.xml", @"C:\Test1.xml"); //step2 wc.DownloadFile("http://somedomain/test2.xml", @" ...Show All

  • Windows Live Developer Forums Hover functionality on Pushpin click

    My user likes the way the pushpin hover looks, but they want it done on the click of the pushpin instead of on the hover (along with different data that I'm Ajaxing in). I know I've seen this code someplace, but can't find it now. I have the OnClick working, I'm just not sure how to create the div. John, I've seen your 'Virtual Earth Popup Styles', but am not sure how to put it in play. Thanks in advance...Steve Since you mentioned my name.... I had this on my to do anyway, its annoying that if you click on a pin it stops the mouseover from displaying. http://www.soulsolutions.com.au/onclick.html Credit to hafi and sanderson1000 . <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra ...Show All

  • Windows Forms Component not remembering property input

    I am building a component that controls multiple user Controls, to take care of a tedious tasks like moveing all of them at once, ect. It is working fine except for one thing: it does not remeber the controls that were included the next time you start up the project, any help is much appreciated, I will include the relevant code: //array used to store the EButton controls the component will act upon EButtons. EButton [] EBs = new EButtons. EButton [50]; //counter for which member of the array should be filled int Dcount; [ ListBindable ( true )] [ Browsable ( true )] // property used to set the controls to be acted upon public EButtons. EButton IncludeEButton { set { //Checks ...Show All

  • Visual C++ string in C++

    Hi I have a C++ file that uses string (from Borland compiler). I want to use some functions in the file for another. I have to change it for Visual 2005.But when I added genlib in the header , there was a message : cannot open include file 'genlib': No such file or dicrectory there is a function in that file , I need a string input but the data I have actually are char type so I have to convert my data to string that I can use them as input of the function in the ancient file. Do u have any idea to change them string and char with genlib thanks for your advices. Hello I cannot quite understand your question here, are you rewriting the old file in Visual C++ or are you just t ...Show All

  • SQL Server Problem with slowly delete many filtered rows in table.

    I use cursor for delete 20 milions rows from one table, but it's very slowly. I want use delete rows in a non-resource consuming manner. I don't need from transaction log, but don't know how turn off it. Please help me! 10x I use the cursore because i want remove filtered data from this table. I have relation with another table and result to deleted rows is round 21 milions records from 41 milions. The big table have 9 indexes. Is it a problem to slowly execute I probe to not use the cursor. Write where clause with operator IN, but this not solve the problem. Now delete indexes, but problem stay. For cursor i use option FORWARD_ONLY, and delete records with DECLARE abc CURSOR FORWARD_ONLY FO ...Show All

  • .NET Development Missing tlb file... sometimes ??

    I have a vb.net component that exposes a class and it's methods to the COM framework. It's strong named, added to the installer etc. and works fine except for one thing: the tlb file associated with the class (dll) does not always end up on the target machine. Even re-installing the same msi without recompile/rebuild might or might not install the tbl file. This is necessary as we need to give other vendors access to our product so that they can use it. If the tlb file is not always installed, then their apps are going to break when they look for it. What on earth is going on I could directly reference the tlb in the installer to be absolutely sure that it gets installed (at the moment, it's picked up as a reference) but I'd like to know t ...Show All

  • Visual Studio 2008 (Pre-release) XPS document sequence and Application.GetContent/Resource/RemoteStream

    How to load XPS document sequence from application resources I use this: Stream stream = ApplicationStreamHelper .GetStream(source); if (stream != null ) { Package package = Package .Open(stream); XpsDocument xps = new XpsDocument (package ); document = xps.GetFixedDocumentSequence(); } public static class ApplicationStreamHelper { public static Stream GetStream( Uri uri) { if (uri == null ) throw new ArgumentNullException ( "uri" ); StreamResourceInfo streamInfo = null ; if (uri.Authority.StartsWith( "siteoforigin:" )) { streamInfo = Application .GetRemoteStream(uri); } else { streamInfo = Application .GetCont ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is there any way to tell if a sampler has a texture attached in shaders?

    Is there any way to tell if a sampler has a texture attached in shaders The default behavior is getting black when no texture attached but I want it to be some other color. That table shows values to expect when you have a texture bound to the device that is of a certain format. If you have no texture bound at all, then what format is going to be chosen from the table above It is true that RefRast's behavior is to revert to pass a black color for unbound textures. But this is not enforced on driver writers. Drivers are supposed to follow the DDK guidelines first. Sometimes a point might not be very clear, so they revert to the SDK docs to see how it's supposed to work out from the application POV. Now for ...Show All

  • Visual Studio 2008 (Pre-release) UIPermission error during Navigation to Download on Demand components

    Hi, i am trying to use the following code, in an xbap, to navigate to a page in a dll that is downloaded on demand Uri uri = new Uri ( "/ProgressiveDeploy;component/window1.xaml" , UriKind .Relative); this .NavigationService.Navigate(uri); It compiles fine, but I get a UIPermission error at runtime. Is there something preventing this in WPF xbap applications. If so then why I would expect xbaps to have this functionality so large applications can be broken into smaller chunks. ok i'll wear the dunce cap this week. I guess the UIPresmission issue had to do with the fact that I was trying to navigate to a window instead of a page. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. day2night

    I wonder if it is possible to activate the day to night feature and if possible how. In the mission fit file you can implement a daytonighttime; for example: f DayToNightTime = 54000.000000 This value is (as it seems) picked up by camera.cpp result = cameraFile->readIdFloat("DayToNightTime",day2NightTransitionTime); I played around withit but can not see any effect in missions. Any idea what the value needs to be, how it can be activated, if it can be acticvated at all I will try it out; thank you. It seems not to do anything; does the entry for daytonight represent seconds Is there any other (hidden) entry needed   ...Show All

  • Visual Studio Multi-linguality in crystal reports

    hello all I have an application using vb.net and crystal reports, which is also a multi-lingual ( English, German). Is there a way to convert the crystal reports generated in english to be converted to german or a new report should be generated. thank you all ...Show All

  • Visual Studio Crystal Reports for Visual Studio Express

    Dear Ashley: I need to learn Crystal Reports, the inexpensive way, to use it with VB Express 2005. Is there a free student version that I can download, to learn before I buy the real thing. Please, let me hear from you. Thanks. Luis Hm. I'm not quite sure which version of Visual Studio you are refering to here. I can tell you information about three SKUs that you might be referring to -- let me know if this helps. Visual Studio Express editions Crystal Reports is not included. Crystal Reports cannot be integrated with this product, even if you purchase and install Crystal Reports Developer . Visual Studio Standard Crystal Reports is not included. Crystal Reports ...Show All

  • Visual C++ Weird Error Message, Need Help

    Hi, I'm building a plug-in for Acrobat using C++.NET and I get these error messages when I try to build this plug-in : LNK2001: unresolved external symbol __malloc_dbg LNK2019: unresolved external symbol __free_dbg referenced in function "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" ( 3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z ) LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" ( 2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z ) LNK1120: 2 unresolved externals Does anyone know what they mean and how to solve the problem Cause I dont :-) thanks a lot for y ...Show All

  • SQL Server Parallel Processing of Partition

    Guys, I would like to thanks Elizabeth for a great document. Appreciate it. Under " Maximize parallelism during processing", I see the following bench mark. # of Processors # of Partitions to be processed in parallel 4 2 – 4 8 4 – 8 16 6 – 16 In our scenario, we have a huge dataset which means processing about 20 partitions in parallel. The box we have is a beefy box DL 585 4dual core CPU with 32 GB memory and we are using the 64 bit architecture. However when monitoring the trace I see the following:- 1 - Process Processing of Fact 2001 Partition 8:05:43 10:11:04 25 - Execute SQL S ...Show All

©2008 Software Development Network