Milzit's Q&A profile
Visual Studio Express Editions toolTip
Any example on how to use the tooltip function you may need to be more descriptive but here is a simple example on how a tooltip is used: Dim theToolTip as new ToolTip() theToolTip.SetToolTip( Control , Text ) so if I wanted a tool tip on a textbox theToolTip.SetToolTip(Me.theTextBox, "This is a tool tip!" ) you could also say, show this tool tip when the mouse hovers of that textbox, by implementing the TextBox's MouseHover event, then place the code above in there, so when you hover over the control, it should show it. http://msdn2.microsoft.com/en-us/library/system.windows.forms.tooltip.aspx Does this help ...Show All
Windows Forms Create Trace in my application
Hi to all, i like to create a application, that will allow user to trace through out code runtime like f11, i will use reflection to open the methods in the user dll. how create a trace in a new window...... please help me........... is it possible, any ideas, i like to do that application in c#. Have a look at the MDbg sample application and it's associated forum MDbg ...Show All
SQL Server question on using median to aggregate a measure
Hey all, I'm still learning SSAS + MDX and am not sure how to go about using the MEDIAN function (instead of sum or avg) to aggregate my measure. In my dataset, I have Geography, Time, and 'Use Type' dimensions that splice a Sale Value measure. I'd like to construct a measure that uses the Median instead of the traditional avg or sum aggregations. I read the MSDN page on the median function (http://msdn2.microsoft.com/en-us/ms145570.aspx), but I'm still lost on what to do in the SSAS designer to add this measure. Any suggestions Thanks! I'm not aware of a native "median" aggregation in SSAS - you could use the Median() function at the measure group fact dimension granularity, as in this Adve ...Show All
Visual C++ Unmanaged code usage in Managed C++
Hi, I am having a great difficulty with using Unamaged C code with managed C++. I have a .lib file, .dll and a .h files that I need to use with windows forms application. However, I dont see the program working as it should, for eg: the global variable that I declare in managed C++, which are typedef'd in the unmanaged .h file has scope problems within the managed C++ code. Can anyone give an insight, about how to go about using unmanaged code with managed C++ code Thanks in advance!!! bhaskar27in wrote: I am having a great difficulty with using Unamaged C code with managed C++. I have a .lib file, .dll and a .h files that I need to use with windows forms application. However, I dont see the program worki ...Show All
Visual Basic Running isnumeric on array textbox (Help needed)
hi, this is what i wrote : Private sub text1_change(index as integer) Dim A as boolean, b as boolean for index = 0 to 2 if a = true then msgbox "ok", vbok if b = true then a = true if isnumeric(text1(index).text) then b = false else : b = true End if if text1(index).text = "" then b = false End if Next index End sub My form has 3 textboxes in an array. The first box adhere to the above, i.e. when i type numbers in,it is okie, however any alphabets will result in error msg. 2nd and 3rd text boxes however displays an error msg wheneva i type anything in. Is there something wrong in what i have done thanks~!! Rather urgent The only problem with this si ...Show All
Visual C++ error C3861: 'wsprintf': identifier not found
New to c++ using Visual C++ 2005 Express Edition Created a new "CLR/windows form application". added a "wsprintf" line and got " error C3861: 'wsprintf': identifier not found" will appreciate any help. following the test1.cpp source // test1.cpp : main project file. #include "stdafx.h" #include "Form1.h" using namespace test1; [STAThreadAttribute] int main( array <System::String ^> ^args) { char Fname [50]; int i = 1; wsprintf (Fname, "Abc_%2d.txt" ,i); // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefaul ...Show All
Windows Forms Run an application after Install.
Hi, I've created a setup project and add an Installer class to do my custom Action. When the installation is end i want to run my application : To do that I use the method Process.Start public override void Commit(IDictionary savedState) { base.Commit (savedState); string DirMain= System.Windows.Forms.Application.UserAppDataPath; DirMain = DirMain+"Hip\\Hip.exe"; System.Diagnostics.Process.Start(DirMain); } When I'm in a administrative windows account that run correctly but when i'm with a user with no privileges i've an error message of the JIT : ” JIT Debugging failed with the following error: Access is denied.” I search in the msdn and the solution is to add the user to the Debugger Users gro ...Show All
Windows Forms List interface, with "named" indexing...
Which collection derivative provides for a list-type interface of objects that can be referenced not only by index, but by a string "name" also Like: MyObject["Sam"].Value = 10; or MyObject[0].Value = 10; I've looked through the MSDN Library on Collections, but I must be overlooking something. Sincerely, Gordon E. use HashTable for more info http://msdn2.microsoft.com/en-us/library/system.collections.hashtable.aspx ...Show All
Visual C# Error message about string
if (comboBox1.SelectedItem.ToString() == "Circle") thats the errenous code this is the error Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string I originally had just selected item, so I thought the fix would be .ToString(), but as I found out, apparently not.. You would have to do the following: if (((String)comboBox1.SelectedItem) == "Circle") Thanks, Rashmi ...Show All
SQL Server Inserting existing Data from one Server to another Server FOR MS-SQL Server
hi guys! i have this task to do, well lets say i have a DB in a Server lets say Server1 and i want to copy or insert this data to the Server2. Is there any easy way to do this copying the Keys automaticly What is the best way to copy the data Thanks a lot. novelle Hi, Check the properties of the database which is residing in server 1 , you can find the .mdf,.ldf files location. You can simply copy the .mdf file alone and restore it on server 2. Kudos, Raju ...Show All
SQL Server Formatting dates on a chart when sourced from SSAS2k5
I am creating a few charts in SSRS that are sourced from a cube in AS. On the x-axis is time, which is what I assume a date-like field in the cube. On the y-axis is the measure. My problem is that I cannot seem to get the dates to format on the chart - regardless of the format code I use, the dates appear in long format, like "Thursday, November 23 2006". Are the dates from SSAS just string values I feel that you may have mentioned some expression or modification done on that field.I faced this problem before where i came to know that Format expression which will be like (#000# Something...) when some operation is being performed on that date. Take out that any operation on that field and give o ...Show All
SQL Server Accessing a "Lookup Table" from inside a Transform Script Component
I have a requirement to access a lookup table from within an SSIS Transform Script Component The aim is to eliminate error characters from within the firstname, lastname, address etc. fields by doing a lookup of an ASCII code reference table and making an InStr() type comparison. I cannot find a way of opening the reference data set from withing the transform. Regards Tim One cannot, in a script transform, access the privately managed lookup cache that Microsoft uses to implement the stock lookup transform. Accessing a "lookup table" from inside a transform script component is quite do-able though. To roll your own lookup, perhaps because of a desire for a cross transform shar ...Show All
Windows Search Technologies Accessing WDSQuery.dll from MSAccess
Hello, we would like to integrate desktop search queries in one of our MSAccess applications through the visual basic interface. The SDK does not help, we cannot reference WDSQuery.dll, how could we do Stalwart - Out of curiosity, have you installed the WDS SDK It contains WDSQuery.dll and can be found here: http://addins.msn.com/support/WDSSDK.zip I'd also recommend taking a look at this site for additional information. It doesn't contain VBA code, but it might get you started. Let me know if this helps. If not, I'll see if I can find any VBA buffs that might be able to help. http://msdn.microsoft.com/msdnmag/issues/06/07/CodeAndSeek/default.aspx Paul Nystrom - MSFT ...Show All
Visual Studio Express Editions Auto scroll
Hi, I have information coming into a listbox and would like to know if there is anyway to have it automatically scroll down to the newest information received. Ken Just set the SelectedIndex either to the end of the list (if that's where you are adding the new items) or to the index where you have inserted the item. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListBox1.Items.Add("This is a new item") ListBox1.SelectedIndex = ListBox1.Items.Count - 1 End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ListBox1.Items.Insert(56, " ...Show All
SQL Server Insering and Reterving images from SQL server Database
Hi friends I am discussing problem of client server application.I am devloping a Datbase application. . My client is using a VB6.0 application,which communicate the database. I am using Sql Sever as database.I can insert and retive any type of information from database using my client application.But I dont know how to insert and retrive image or picture(like .jpg or other formats) into database using a vb application.If anyone know how to maipulate images in databse using vb6.o.Plz suggest me the code of vb which can insert images into database. Thank u Hi, http://support.microsoft.com/kb/258038 HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
