kymaita's Q&A profile
Microsoft ISV Community Center Forums Error with Excel Application Object
Hello ladies and gentlmen, this is a very specific error I'm dealing with, and one of the stranger ones I've run across. First of all, I am attempting to open an excel file from MS Access using an Excel Application Object. If Excel is not open, the file will open fine. If Excel is open and there is no workbook open, the file will open fine. If Excel is open and there is a workbook open, then the file will not open. Here is the code I'm using. Set appExcel = GetObject(strFilePath & strFolder & "\" & strFileName) appExcel.Application.Visible = True If blnIsWorkbookOpen(strFileName) = True Then appExcel.Application.Workbooks.Open strFilePath & strFolder & "\" & strFileName ...Show All
Visual Studio Team System is it possible to add c# project into load test in vsts.
what are the tests we can add into load test ................ as of my knowledge we can add only unit and web test .........is it possible to add any other tests we can add into load test except unit and web tests. we created some scritps in c# with extension of .cs,is it possible to add those scripts into load test i tried to add that scritps into load test but it is not displaying any tests in test mix when i tried to add that perticular scripts. otherwise we can convert that perticular scripts into unit test and we will add to load test ....... is it works fine ...Show All
Windows Live Developer Forums Invisible DIV over pushpin
I'm trying to use custom pushpins with my own popup which is a DIV tag with details in it. I'd like to mimic the effect of mouseover the pushpin and have the popup(DIV) disappear. I read someone's suggestion re: placing an invisible div over the pushpin that has been clicked That way I can hide the DIV with the details when the user does mouseout over the invisible div on the pushpin. I have the x, y coordinates of the pushpin, but the DIV placement is relative to the window, right I'm confused on how to associate the DIV placement to the x, y coordinates on the map, and to adjust accordingly. thanks in advance. Steve Hey again Steve (along the lines of the other reply I posted) -- sounds again ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a team?
Ok... 1. I want to get started learning C# for XNA studio. (Im getting a "for dummies" book) but i realy dont know where I can learn XNA. (where to find video tutorials ect.) 2. I currently use Maya unlimited for my animation, but im trying to put together a budget team (a few friends) to form a studio. (what would be the best shareware 3D program to incourperate to XNA) 3.Is C# easy to learn. (Im willing to learn harder stuff anyway) 4. What are 3D file formats that can be incourperated into XNA 5. I have no prior knowledge to computer programming, so will XNA be easy to learn AND THEN teach to the rest of my team Answeres are really apreciated. If you do not know pr ...Show All
Windows Search Technologies Have an idea for a Windows Desktop Search Technical Chat? Post it here!
Microsoft is striving to deliver an integrated community experience that responds to the needs of our customers. We're committed to providing online communities that allow people to interact, collaborate, provide feedback, and seek help with Microsoft products and technologies. The Windows Desktop Search Forum is one example of such a community and we're currently exploring the possibility of expanding our community offerings via a series of Windows Desktop Search Technical Chats. So, with that in mind, we'd enjoy hearing from you if you have one or more ideas for a Technical Chat. Just post it here as a reply. Stay tuned for more information about sc ...Show All
SQL Server What should the maintenance plans be on your mirror server?
If your principal fails and your mirror assumes the main role and it is in Full recovery mode (which it has to be in Standard edition), then the log files will grow and grow until a transaction backup and shrink is executed. I have maintenance plans running daily (and hourly for transaction log backup/shrink) on my principal, but nothing on my mirror. Do I need to set up the same maintenance plans on my mirror server Thanks Ed Thanks for the reply, Mike I think I do understand the terminology (I know mirroring is done on database level, not instance) My question wasn't exactly answered (since I stated we won't purchase Enterprise version SQL, other than for Business Intelligence server), but a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. new to directx
Hi eveyone, i am new to directx and i want to be a game programmer.Please tell me where i can find useful tutorials for a beginner. Hi wilson,thanks for your reply. I am interested in C++ and i dont have any previous experience. Will you tell me where i can find tutorials useful for me. ...Show All
Visual Basic Automatic Namespace generation in VB
I've just finished a dll written in VB. I've never bothered with namespaces much until now, but this is a bit complex, so I've arranged it into sub-folders, with a top-level class, a few sub-classes (and base classes), and other classes that hang off some of the sub-classes. Every class has the same "Namespace Handler" around it. Looks garbage in the object viewer - every class is under the root namespace. When using the object however, it looks fine, i.e. you only see the correct sub-sub-classes hanging off the correct sub-classes, etc. However, one of my colleagues who talks C# had a look at my code, and commented that my namespaces were not declared properly, then we discovered that when coding in C#, the namespace line wer ...Show All
.NET Development Get data from database
i want to have a button and textbox on my form and when i type in a username and click the button i want a lable to show what the password is for that username. the connectionstring would be typically like this: "Data Source=.;Initial Catalog= DatabaseName ;Trusted_Connection=true;" so... New SqlConnection( "Data Source=.;Initial Catalog= DatabaseName ;Trusted_Connection=true;" )) if you are using SQL Express then change the data source to: "Data Source=.\SQLExpress..........." www.connectionstrings.com has all the connectionstrings for your needs. the connection string is basically a string that contains details on how/where to connect to to ac ...Show All
Visual C++ Import Native C++ dll in Managed Project
I have some code which needs to be native that I am trying to include in a managed c++ project via a pluggin. It can't be added to references. The syntax for loading it manually, [DllImport("ArmWrp.dll")], is fine, but the functions cannot be found. Here is the simple pluggin, it is compiled with the unicode setting: // ArmWrp.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #ifdef _MANAGED #pragma managed(push, off) #endif BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, &nb ...Show All
Windows Forms How to detect the changes on listview
For .Net FW2.0, I can detect the changes on datagridview by subscibe the event "RowAdded","RowRemoved","CellValidated". Step by Step: 1.Write a method Eventchanged(object sender, EventArgs e), I will set a bool value to be true; public void Eventchanged(object sender, EventArgs e) { this.detectObject.Ischanged = true; } 2.subscribe the event after form loaded; this.dataGridView.RowAdded += new EventHandler(Eventchanged); this.datatGridView.RowRemoved += new EventHandler(Eventchanged); this.datatGridView.CellValidated += new EventHandler(Eventchanged); 3.Through the local variable detectObject, I can know if user have changed the content in the control datagridView. But I can not find the same events ...Show All
Visual C++ unresolved link when using template class
Really new to C++ so please be gentle with me on this one. When I try to compile the following code, I get 4 unresolved link errors. Note that I have three files in my project, "Sample.h", "Sample.cpp", and "Main.cpp". //Sample.h template <class t> class Sample { public: Sample() ; ~Sample() ; } ; // Sample.cpp #include "Sample.h" template <class t> Sample<t>::Sample() { } template <class t> Sample<t>::~Sample() { } //Main.cpp #include "Sample.h" void main() { Sample<int> Sampleint; Sample<float> Samplefloat; } An example error is as f ...Show All
SQL Server The product level is insufficient for component
We are trying to run SSIS DTSX packages from a VB.Net 2005 application and we get this error : The product level is insufficient for component. The server is SQL 2005, the clients (for which the VB application is run from) have SQL 2005 Client tools (since there are running XP). I know this is a known issue, as SP1 corrected the import/export problem in Management Studio, can we expect a similar fix when using SSIS locally on a client's machine via a VB.Net application and SQLServer 2005 assemblies We are currently in the process of migrating our VB.Net 2003/ SQL2000 applications to VB.Net 2005/ SQL2005 and do not want to change the way we process our data, as we expected 2005 version to have the same functionality as 2003. T ...Show All
.NET Development How do I test whether I have permission to read a file?
I am trying to test whether I have the ability to read a specific file, without actually reading the file or any exceptions being generated. I'm looking for the equivalent of the -r operator in shell script or Perl. File.GetAccessControl() doesn't meet my needs, as it requires permissions to get the access control list, and provides no simple way to determine what permissions the current user has to the file. Thanks, Kevin either way, most likely you would get a security exception simply because it needs to query the file for whatever it needs to do and if it doesnt have permission, you would get the unauthorized/security exception ...Show All
Visual Studio Tools for Office Setting CurrentThread.CurrentCulture From Browser Creates Bad Japanese In Excel Document Created Using PIA
I'm having a problem where an .NET 2.0 web application server is not correctly writing Japanese text into cells in an Excel worksheet object. Googling highlighted some MSDN Library articles that were helpful in pointing me in the right direction (specifically "Creating Excel Solutions for Use in Multiple Countries/Regions Using Visual Studio Tools for Office" for Office 2003 / VS 2005), but I was wondering why it only occurs in certain circumstances. We have 2 applications which support changing of the UI language from the browser, and creating an Excel document with selected data in various languages that can be downloaded. Both servers have English OS + English Excel, with the Japanese language packs installed and set to ...Show All
