JimMace's Q&A profile
.NET Development ActiveX not showing up with framework 2.0
Hello, I am using an activex control on my website. It was running fine with framework 1.1, when I try to run it on framework 2.0 it's not showing up. It's not showing any error message, just a "image not found icon" in webpage's body and "DONE" on IE's status bar. When switch it to framwork 1.1 it runs fine. What I think for the activeX not showing issue is that this might be some security issue because I had the same problem earlier with framework 1.1. What I did for that I have set a permission using .net framework 1.1 configuration in control panel >> administrative tools and the control runs fine after that, but after installing f ...Show All
Visual Basic Beforeclose event problem
Hello, I am new to visual Basic 2005. I am facing problem that in Beforeclose event after setting cancel=True workbook closes.Please help me to overcome this problem. Code is given bellow: Dim WithEvents xlApp As Excel.Application Dim WithEvents xlbook As Excel.Workbook Dim WithEvents xlsheet As Excel.Worksheet Private Sub xlbook_BeforeClose( ByRef Cancel As Boolean ) Handles xlbook.BeforeClose If MessageBox.Show( "DO YOU WANT TO CLOSE EXCEL FILE " , "EXCEL" , MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.No Then Cancel = True E ...Show All
.NET Development Web.Config or Machine.Config - which preceeds?
Hi, If I have a different value for maxRequest length in Web.config and Machine.Config, which value overrides the other Srilatha Thanks. I got more info on the same topic from this link. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetsec/html/THCMCh19.asp ...Show All
Windows Forms using nodes vb 2005 EXP
I would like to use the tree view control to open: My .Computer.Audio.Play( "C:\....\.....wav" ) TextBox1.Text = My .Computer.FileSystem.ReadAllText( "C:\....\....txt" ) PictureBox1.Image = Image.FromFile( "C:\....\.....gif" ) I could use labels, etc. but I would like to use the tree view. When selecting a node I would like to open a .txt, .gif, and a .wav file in a windows form. Is this possible Thanks for any Help GrayWolf *grin* I'm no spring chicken at 37, but I'm sure in 20 years there will be something new and I'll be wishing we had it when ...Show All
Software Development for Windows Vista Updating Workflow
Hi, Scenario: a production server with maybe a 1000 instances persisted to a SQL database. A crucial addition to the workflow is done (near the end of the workflow). I want these instance to follow the new workflow if they did not progress past the insertion point. Is this possible Is it as simple as not incrementing the version of the assembly Any issues I should be aware of Thank you in advance. Heinrich That's correct. When creating new instances, be sure that the type specified is the correct, assembly-qualified one - standard .NET type resolution rules apply. ...Show All
Visual Studio Team System View file permissions
How can I prevent a user from viewing the source in a file, I've set all permissions I can find for the project to deny the user access to that project and it's files. The user can no longer see the project in the team explorer view, however they still see all projects on the server in the source control explorer . They cannot checkout / get / lock or delete the files but they can still open them for viewing. Hi Jim here is a link to an admistration tool for the TFS: http://www.codeplex.com/Wiki/View.aspx ProjectName=TFSAdmin This is a great tool (by Joe Morel and others) that makes it easy to se ...Show All
Visual Studio Copy report data directly into word
We have a tabular report that is generated and displayed in a report viewer control. Is it possible to select the table with the mouse and copy and paste it direct into a word document, or will we have to export it to excel and then import/export it into Word. Thanks Michael In webforms, you can use the standard copy-paste support from the web browser. At this time, there is no way to copy-paste report content with the winforms. This is a common feature request and we hope to add it in the future. ...Show All
SQL Server Performance with processing large dimension
Hi everyone, I'm looking for suggestions on ways to improve performance in Analysis Services 2005 and Sql 2005 while processing a large dimension. I am using MOLAP aggregations. SQL Server & Analysis Services - Data & Log files are on same hard disk due to space constraints. This will be changed in production. Server has 6GB RAM & 4 CPUs. Data table has 21M rows @ approx 500MB. The Select statement reads just the the key value in the table. Profiler shows 15265 CPU, 64442 Reads, 1497405 Duration for query, using Net SqlClient Data Provider Processing takes around 25 mins / about 100k rows in 10 secs. An ...Show All
Visual Studio Team System tf get latest to a specific location
is it possible to get latest version of file to any location I want with tf Not just to the workspace Thanks Avi Hello, unfortunatelly no - get is always performed to the mapped location. You can look at tf view command, it let you download copy of the file to the temporar location. ...Show All
Windows Forms PrintPreviewDialog and printing don't use the sorted DataView Please Help!
Hi All, Before, my English is not so good excuse me for that. I have a proglem with printing a sorted DataGrid. For Example: System.Windows.Forms.DataGrid dGrid; dGrid has for example 2 columns: Column 1 = "NAME" Column 2 = "BIRTHDAY" dGrid is filled with 3 rows: First Row: "Wernand", "10-31-1970" Second Row: "Raimondo", "12-08-1996" Third Ro ...Show All
Visual Basic Runtimeerror 429 ActiveX component cannot create object
I wrote this to read the fileinformations from a power point prensentation and put them in a table in a word document. Anyway, I always get an error on opening the presentation (I marked the line in the code) Runtimeerror 429 ActiveX component cannot create object Would be really pleased if someone could help. Thx Ivonne Sub AuslesenPowerPoint() Application.DisplayAlerts = False Dim file As String Dim name As String Dim thema As String Dim kommentar As String Dim appWD As PowerPoint.Application   ...Show All
Visual Studio Express Editions Keyboard controll?
Is there a few lines of C++ code I could use to Disable the real keyboard for the duration of the program and Send keypress events to the system (including Windows Logo, Alt, A-Z, 0-9, Tab, Space, Enter) You can send input by SendInput, keydb_event and mouse_event. http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/sendinput.asp You can not block the normal input in an easy way. You need hooks for this and this requieres writing a DLL that will be injected into every process, read the docs for SetWidnowsHookEx. http://msdn.microsoft.com/libra ...Show All
Windows Forms How Can I Disable the VisualStyles From One Control ??
Hi When I add this line of code in the Main () I have Enable the VisualStyles in the all application Application .EnableVisualStyles(); And the code will be like this static void Main () { Application .EnableVisualStyles(); Application .Run( new frmMain ()); } But my question How can I Disable the VisualStyles for only one control Or How can I enable the VisualStyles for only one control after delete Application .EnableVisualStyles(); ...Show All
Visual C++ what is the difference between using RTTI AND CRuntimeClass?
hi guys, what is the difference between C++ RTTI and CRuntimeClass.Why Microsoft provided one more type checking method why they are not encouraging to use c++ RTTI MFC did not support RTTI at the beginning and so the CRuntimeClass is created. CRuntimeClass also supports dynamic creation of objects. ...Show All
Visual Studio Express Editions Q: What is the modules
hi, i'm new and i want to know what is hte differece between classes and modules , and when to use modules, thx Hi shak, The purpose of a module is to contain subroutines or Functions and to declare Variables or Arrays with the Public Command. Modules have no visible properties and have no events because they have no controls. Subs within the module are made available to your entire program (global) as opposed to local to a partuclar form or even more local to a particular procedure. The 'Visual Baic 2005 Express Edition for Dummies by Richard Mansfield is a great book for beginners. It had most of th ...Show All
