Marcusbris's Q&A profile
Visual Studio Tools for Office MODI Languages
Hi, Is there support for Croatian, Serbian, or Bosnian Language in MODI (Microsoft Office Document Imaging) office component. If not is there any plan to add support for this languages to MODI Thank you very much. Igor Ivanic Hi Igor This forum is specific for questions concerning the VSTO technology, not for general discussions about Office products. I think it might be best to direct this question to your local Microsoft office / representative. ...Show All
Visual Studio Express Editions Calculate Age as in 28 years 32 weeks 4 days 6 hours 10 mins and 11 seconds
In visual basic express 2005, I have a databound Labeldob.text that holds the D.O.B, and a databound Labeltob.text that holds the Time of birth. I need to know how to show in Labelagenow.text the time elapsed between then and now as in 28 years, 32 weeks, 4 days, 6 hours ,10 mins and 11 seconds. (and if pos it still ticking up second by second) hope you can help Thanx. Hi. Please take a look at timespan and datediff. Best regards. dp ( www.webhostservices.biz ) ...Show All
Visual C# Obivous oversite?
This problem has to do with updating a control/dataset based on the DataRecevied event of the serial port. Now I know you are thinking cross threading (which it might be) but let me explain. I have a dataset in the main UI form that is databound to a number of controls. When I change the values of the dataset the bound controls update. This is fine, but when I update the values of the dataset via the DataReceived event the values DON'T update To illlustrate the problem simply I have stripped down the code to it's most basic form. I hope someone can shed some light on the problem. public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // create a dataset and populate i ...Show All
Visual Studio Express Editions Basic Game and Interface, How to
Hi there, im new to Visual basic 2005 and im trying to create a simple game using snippits of video and a computer interface to run the game, the only snag is i have no idea where to start. The idea is one video is shown and upon an input on the interface is activated, another video is played. Thats the basis of it. If any one has any info that may help or have any idea if its possible, it would be extremly useful. Thanks. I would think that the wondows media player object would be the place to start. Tools | Choose tool box object | com tab ... find the windows media player Addit to the tool box and start learning how to use videos with it. Then you'll probably be interested in the MCISENDST ...Show All
Visual Basic New To Visual Basic 2005
Hello I am new to Visual Basic 2005. I am looking for some tutorials, or some suggestions on where to get started. Advice would be helpful. Any links for free e books or tutorial are also welcome and most needed. Thanks in advance. if you havent already, download and register the VB express edition as you will recieve ebooks and video tutorials I believe. There is of course the huge online resource at MSDN as well as the internet. There is of course these forums so do post questions. Also try to make some side projects and experiment with them as well as downloading other projects and analyzing and playing with the code. This is the best way to learn. Perhaps even enroll at some college classe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Step by Step Cue volume sample request
Hi, I just can't figure how to set the volume of a given Cue instance. I want one specific instance of a sound (ex: player 1 laser volume@50% , player 2 laser volume@80% ). I saw only one post giving a very light explanation, which was: a) you should create a cue "Volume" variable in XACT (that I can do) b) link that variable to the sound Volume ( how ) c) set the volume programmatically. I suppose SetVariable("Volume",0.5) will do it once XACT is properly set up. Thanks Freds72 You can do it like You say. Create cue instance variable "Volume", add RPC preset linking Sound:Volume with this variable. Attach sounds to that preset (important!). Then ...Show All
Visual C++ compiler bug? readonly. prefix opcode not generated for calls to T::Address()
(Apologies if this is known, but I didn't find it on a search.) The following methods generic<typename T> static void Ref(array<T, 2>^ x) { x[0, 0]->GetType(); } public static void Ref<T>(T[,] x) { x[0,0].GetType(); } both result in the following IL: method public hidebysig static void Ref <T>(!! T [0...,0...] x) cil managed { .maxstack 3 L_0000: ldarg.0 L_0001: ldc.i4.0 L_0002: ldc.i4.0 L_0003: call instance !!0& !! T [0...,0...]:: Address ( int32 , int32 ) L_0008: constrained !! T L_000e: callvirt instance [ mscorlib ] System.Type object :: GetType () L_0013: pop L_0014: ret } The call to Address() is not prefixed with readonly, so when called by: Ref<Objec ...Show All
Visual Studio Express Editions calender link to database
I'm trying to create a database of projects. when a project is entered i want the entered to link the database info for that project to the calender date so that when a user clicks on a calender day the projects for that day are shown in a message box. Any ideas Thanks your connectionstring is incorrect. a connection string looks like this typically: "data source=.;initial catalog= databaseName ;Trusted_Connection=true;" this is what you have to put in but of course changing the various names. if you have a connectionstring in your project which you want to use, find that string and place it in, without quotes, as long as its a string type ...Show All
SQL Server Enabel AWE under SQL2005 EE -
Hello, I understand that SQL2005x64 bits ignore AWE enable in SQL because it can address all the memory without having to use AWE. How about 32 bits SQL2005, does it support AWE enabled I emailed the guy who presented on the topic at PASS a few weeks ago and here's his response. It may be a bit overkill, but hopefully answers your question. :) This is a bit complicated. Yes, SQL 2005 supports AWE and the behavior is different from 2000 in it is dynacmically adjustable with no server restart. On x64 and I64 regardless of the AWE setting we use the underlying windows AWE mechanism to allocate the memory. This is a performance optimization because using this AWE mechanism in the kernel r ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GameComponent designer
Would it be possible to add support for a GameComponentCollection in the designer for GameComponent Perhaps it would make sense to do this by creating a new class analogous to UserControl in windows forms, or even creating an IGameComponent so that a collection isn't required. It would be pretty easy to implement myself, but I think it would be best done as part of the framework. I think it would be handy for things like a state machines, so you could aggregate components in a state component and still have access to the designer. While it would be cool to design a running application like with windows forms, I can see how it's probably not going to happen. I've done similar things with Direct3D on wi ...Show All
.NET Development Web/Windows Form Interaction
Hi All, I have created online email sending interface that allows clients to create their own email list of current users. This list is then placed in a Dataset ready to send. Is there a way to send this dataset (along with other arguments) to a windows form which can then do the emailing Web Services Remoting Using TCP Ports In the past I have simply created an aspx page that loops through the data. However, I would like to do the sending on another server to reduce load. Any suggestions would be appreciated. Thanks, Ken ...Show All
Visual Studio 2008 (Pre-release) MediaElement is playing HD-movies slow in RC1
I've just upgraded my system from June CTP to RC1 of .NET 3.0. Rebuilding my projects worked without any problem but when i try to playback a HD-movie(720p) in a mediaelement i get unacceptable framerates. In June CTP the exact same movie worked perfect and i can't think of anything else that has changed in eighter my system or project that might affect videoplayback. Playing the movie in WMP, VLC or any other player works just as before. My system: Athlon 3200+, 1024mb ram, Radeo 9800pro 128mb, XP Pro, WMP 10 You don't need any scientific tests to show that the playback is slower, before playback worked perfect, now i get about 5 frames / sec ...Show All
SQL Server Is ProcessAdd done within a transaction mode?
Is ProcessAdd done within a transaction mode This question is very basic. When you do a ProcessAdd, is it within a transaciton mode I mean, if the ProcessAdd fault and stop when it meets a mistake, the records before the midstake will still be in the cube or not. Thanks. Thank you, Mosha. You're right. I know how to do a begin transaction Task and a Commit Task in SSIS Excute SQL Task. Could you tell me how to do a begin AS transaction Task and a AS commit Task You mentioned to use AMO to make a self-difined controller. Please tell me more about this or give me some articals about this. I have no idea about that. Thanks a lot! ...Show All
Visual C# System.Char[] question
I am running a continuous download of records from a server. To monitor the progress I use a progress bar and at the same time I send symbols to a RichTextBox via an invoker. The symbols are just added to the previous content with a single space separating them. It is a continuous line for symbols but they are wrapped around in a small window thus I see about 6 symbols per line. At certain time I need to start a new paragraph, so to speak. I decided to send this character: char [] CR = new char [ 13 ]; to the textbox: Then the first symbol of the next paragraph is combined with CR like this: CR+symbol. Instead of getting a new line I get this in the window: System.Char[]ABCD where the ABCD is one of the symbols. In othe ...Show All
Visual Studio 2008 (Pre-release) Appaling GUI performance on Vista RC2
Hey guys, I don't know if this already been reported, but I've discovered that the GUI performance drops drastically on Vista RC2 when setting the AllowsTransparency="true" on a Window. On Win XP with September CTP bits it runs fine. It is a pretty clean test from a hardware point of view since I have a dual boot laptop. Here's my system info: OS Name MicrosoftR Windows Vista Ultimate Version 6.0.5744 Build 5744 Processor Genuine Intel(R) CPU T2500 @ 2.00GHz, 2000 Mhz, 2 Core(s), 2 Logical Processor(s) Hardware Abstraction Layer Version = "6.0.5744.16384" Total Physical Memory 2,045.88 MB Available Physical Memory 883.25 MB Total Virtual Memory 4.22 GB Available Virtual Memory 2.64 GB ...Show All
