bopamax's Q&A profile
Software Development for Windows Vista Unable To Install WinFX Runtime Components after installing Visual Studio 2005
I get a setup error. Mateusz Mateusz Rajca wrote: When will there be one im on the edge of my workstation waiting... ...Show All
SQL Server Bookmark Lookup
Fellow Developers i have a query that has joins of tables with huge data (more than 2G of records per table). the execution plan shows me the 80% of the execution is on a "Bookmark Lookup" on the biggest table. Does anyone have clue how can I optimize this query other than using covering indexes... best regards Jeries Shahin wrote: Other than using covering indexes... Well, if you know the answer already.... ...Show All
Visual Basic Assigning to variables in a structure dynamically by using the field name in a string
Hi, I have an issue where I need to be able to take value pairs i.e. fieldname and value - and assign them to the correct fields in a structure. e.g. structure X Field1 Field2 Field3 Field4 end structure Values "Field2", "xyx" "Field4","pqr1" So I need some method of assigning to the correct field in the structure - much like you can with recordsets i.e. rs.fields("< ...Show All
Visual Studio Express Editions Child Form Disappear
Hello, I have a problem: I Have two forms,Form1 and Form2 Form1 has the following properties: IsMdiContainer=true,RightToLeft=Yes,RightToLeftLayout=True in the Load event of Form1 I have the following code: Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load For Each c As Control In Me .Controls If c.GetType Is GetType (MdiClient) Then c.Right ...Show All
Visual Basic Strong named VB6 Component
Hi! I have the following problem: I have an VB6 application. Now I want to write AddOns in C# using my VB6 types via Interop. I want all my DLLs have strong names. Is that possible Exspecially the Interop.VBA.dll My VB6-DLLs are referencing Interop.VBA.dll. I tried to generate Interop.VBA.dll for my own with tlbimp with the file msvbvm60.dll. But an error occurs: "TlbImp error: System.Runtime.InteropServices.COMException - StrongName-APIs cant ...Show All
Visual Basic DLL library and "entry point" error
I am new to Visual Basic and am trying to create my first DLL library. I have been following the threads on this forum and have try to implement some of the solutions suggested as best I understand them. However, I am not seeing the answer yet. The source code below is the entire content of the DLL: Public Class Class1 Public Sub test(ByVal myText1 As String, ByVal myText2 As String) ' Do nothing and return. End Sub End Class ...Show All
.NET Development Controlling Garbage Collection?
We have a .Net windows service running on a Windows 2003 64-bit machine whose main purpose is to cache Gigabytes worth of data and make that data available via remoting calls. Currently, the process uses 13.6 gigabytes worth of memory, storing data in three main Hashtables. The problem we're experiencing involves garbage collection. At 13.6 GB, the garbage collector seems to run about every two minutes, halting program execution for 30 seconds ...Show All
Visual Studio Tools for Office Shape.Hyperlink becomes protected in Office 12
Hi all, I'm doing an add-in using VS.NET 2005 for Office 12. I'm adding an image with a hyperlink and I then try to access the hyperlink using shape.Hyperlink. When I try this I get the following error message “ Attempted to read or write protected memory. This is often an indication that other memory is corrupt”. Can anyone help me on this Pls let me know where to post this query if this is not the right forum :-) TIA Pavan ...Show All
Windows Forms The need for the Framework
I create my windows application. Does every computer I want to run it in need to have the framework installed You may be right about the datetime/currency/etc. localization issues, I'm not for sure. But all dialog text, error messsage ...Show All
Visual Studio Team System .testrunconfig and automation Buid
Hello All, To make my tests work correctly I need to deploy some extra text files. So I have edited my localtestrun.testrunconfig file to add my files as deployment items. This is working fine locally. I get my file using the following code: string path = Assembly .GetExecutingAssembly().Location; path = string .Format( @"{0}\{1}" , Path .GetDirectoryName(path), fileName ); First question: Is there an easier way ...Show All
Visual Studio Express Editions invalid object
I am trying to write to a database table using native configuration. I have already checked my connection string, I believe I am connecting. However, I get the "table3 is invalid object " error. I checked the spelling and case of my objects. These objects exist. Why do I get this error Hi, from what i understand, if ExecuteNonQuery() is producing an error, then either the table name is wrong, the column name is wrong or there ...Show All
Visual C# FontStyle Properties
Ok. This would be the same kind of question when I asked how to increment the XY position on an object during runtime. Which would be: label1.Location = new Point(165 + 1, 56); Now how would I increment the fontsize during runtime Hi, Yo must set the font object to a new font object: label1.Font = new Font(label1.Font.FontFamily, label1.Font.Size + 1); cheers, Paul June A. Domag Microsoft Sans Serif ...Show All
Visual Studio Differences between Restoring from SSADMIN and SSRESTOR
I am trying to archive various projects from a SourceSafe database using 6.0c versions. I archived the database through SSADMIN and restore through SSADMIN. During the restore I get many "Project of File not found." messages. I tried restoring through SSRESTOR command-line utility and I get NO errors. I checked several of the files that show in the SSADMIN restore window and they appear in the database both the main file and the .a ...Show All
SQL Server Working around Temp tables in Reporting services.
I have been working for days to translate a report out of an old system and in SQL reporting services. Getting the basic code down to get the required data was easy, however getting it to work in reporting services has turned into a nightmare. Why, because I have been told that SQL reporting services does not allow temporary tables...HUH! Ok, so how am I supposed to take three data queries and munge them together into a report. Here ...Show All
Visual Studio Tools for Office Reply as plain text
Sub ReplyToAllAsPlainText() Dim app As New Outlook.Application Dim exp As Outlook.Explorer Set exp = app.ActiveExplorer Dim item As Outlook.MailItem Set item = exp.Selection.item(1) item.BodyFormat = olFormatPlain Dim rply As MailItem Set rply = item.ReplyAll rply.Save rply.Display item.Close olDiscard End Sub This takes an email and replies as plain text, what I want now is someway to automatically change the settings in ...Show All
