kjak's Q&A profile
.NET Development A .net 2.0 application runs on Win XP, not on Win 2000
I created an application in Visual Studio 2005. It runs fine on my Win XP SP2 computer. When I xcopy/deploy to a Win 2000 SP4 computer, it silently fails to run (without any error messages). Both computers have .net 2.0 re-distributable installed. Any ideas If I remember correctly, not all members in the framework are supported in Windows 2000; it could be you're using a member that isn't supported by Windows 2000. Do you get any entries in the event log (system or application) when you run your application ...Show All
Visual C++ Decimal code
Hey guys, I am new with this whole Visual Basic program and I am new with the C++ world. I am trying to make a program and I was wondering how you make decimals I am making a little calculator for my brother and I was wondering how to make it desplay and calculate decimal numbers. Thanks! Burgz wrote: I am new with this whole Visual Basic program and I am new with the C++ world. Are you writing this in VC++ or VB Burgz wrote: I am trying to make a program and I was wondering how you make decimals In VC++, that would be e.g. " float n = 0.5; " ...Show All
Visual Studio Tools for Office Programmatic access to Outlook appointment categories?
Hello, I'm new to the VSTO world, so please bear with me. I'm using VSTO 2005 with Outlook 2007. I want to customize the categories associated with appointments in Outlook. In Outlook when creating an appointment, the user can choose to customize the categories (i.e. associate a name with a color). How can I acheive that programmatically Also, can I add other colors to be used for categories, or am I constrained to the 26 existing options Also, what are the best online resources for learning how to use VSTO 2005 with Outlook 2007 I've searched online for some reference material, but don't want to waste time with mediocre tutorials. Thanks a lot for any help. Nevermind, I figured it out. Globals .ThisApplication.Session. ...Show All
.NET Development Need a way to sniff DLL API calls
Hi all, I have a Software that's based of two components (it's based on much more components than that but i will do my best to simplefy my query) an EXE file and a DLL. The Exe file is referenced to the DLL file (it has classes there and all sort of data types...) and it create classes and uses the functions that are stored in this dll. What i want to do is to have some kind of an outsider DLL that will basically sniff what the EXE file is doing (when the EXE file will create a class X for example - i want that this sniffer will throw a messsage about it, when it calls a function of X.Function() i want the sniffer to catch this call also and throw a message about it too). my question is: is this thing can be made without implemen ...Show All
SQL Server Cube Deploy Error
Hello, I'm trying to deploy a cube on Analysis Services and I'm getting the next error: Errors in the OLAP storage engine: The record was skipped because the attribute key was not found. Attribute: DSAP PRODUCTO of Dimension: DSAP PRODUCTO from Database: SAPIN_BI, Cube: Sapin BI Dllo, Measure Group: DSAP COMBOS, Partition: DSAP COMBOS, Record: 1. I'm sure the data is consistent and has integrity.... and I verified It ... Could you please give me a clue What do I have to post or which script do I have to send you Thanks a lot ! Dave Fackler wrote: Assuming your cube is built on top of a SQL Server relational database, your best bet might be to use Profiler to capture the SQL queries bein ...Show All
Windows Forms Datagrid BoolColumn or checkbox column problem
("Problem"->i want to get checkboxes in the datagrid column. and the table(SQL) name is BrokSlab and the column name is "PercentageStatus".) There is a datagrid Column "PercentageStatus" which contains a values '0 and 1'.Now i want to get this column in the datagrid instead of display 1 and 0 in the datagrid column i want to display checkboxes.Now the problem is i am getting this column with all checkboxes are checked and it look like hidden or i can say it looks like disable. so this is my coding. i am past all my coding. there 1 class which is called "DataBase" and the other is "SupportBrokSlab" all working is in this class "SupportBrokSlab". GetData is used to get the filled table now in 1 we get all checkboxes are checke ...Show All
SQL Server simple custom data flow transformation doesn't produce any output
I've built a simple custom data flow transformation component following the Hands On Lab ( http://www.microsoft.com/downloads/details.aspx familyid=1C2A7DD2-3EC3-4641-9407-A5A337BEA7D3&displaylang=en ) and the Books Online (ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.SQL.v2005.en/dtsref9/html/adc70cc5-f79c-4bb6-8387-f0f2cdfaad11.htm and ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.SQL.v2005.en/dtsref9/html/b694d21f-9919-402d-9192-666c6449b0b7.htm). All it is supposed to do is create an output column and set its value to the result of calling a web service method (the transformation is synchronous). Everything seems fine, but when I run the data flow task that contains it, it doesn't generate any output. The Visual Studio debugger displ ...Show All
Visual C++ Position of Button
Hi, I am currently working on 2 different codes which i m unable to solve. Both coding involve a dialog that is 300 by 500, a button near the top left of the dialog. The first project is to find set the cursor to move to the top left corner of the button during the start of the program to enable faster clicking. IDC_LEFT is the name of the button. BOOL CCursorClickerDlg::OnInitDialog() { CDialog::OnInitDialog(); . . // TODO: Add extra initialization here CWnd* ButtonLeft = GetDlgItem(IDC_LEFT); ASSERT(ButtonLeft); CRect Rect; ButtonLeft->GetWindowRect(&Rect); ButtonLeft->ClientToScreen(Rect); int x = Rect.left; int y = Rect.top; SetCursorPos(Rect.left, Rect. ...Show All
Visual C# Is this possible?
Hello! Is this possible: Add events from the Microsoft Web Browser Control - axWebBrowser to the .NET Web Browser Control. Are there any samples Matt well depends what events you like but yes they are...look at the webbrowser control intellisense. or take a look at this: http://msdn2.microsoft.com/en-us/library/ayestehw.aspx does this help is this what you were asking for ...Show All
SQL Server Running an SSIS package as a job that connects to a DB
I have a package that I want to run as a scheduled job in sql server 2005. The job runs fine in the studio. I am convinced that it is not a password or security issue as I set the protectionlevel to do not save sensitive data and can still run the job in the studio. The User running the job has SA privileges as does the SQL Server Agent. The job reads a flat file, runs it through a script and than inserts the rows into a table. The job runs successfully only if the flat file is empty. The job history says: The return value was unknown. The process exit code was -1073741795. The step failed. There are no OnError lines in the logging. Anyone have any Ideas or tricks to try. Is there any re ...Show All
Visual Basic c# to vb
What is the vb code for this public enum NotifyIconBalloonIconFlags : int { NIIF_NONE = 0x00000000, NIIF_INFO = 0x00000001, NIIF_WARNING = 0x00000002, NIIF_ERROR = 0x00000003, NIIF_NOSOUND = 0x00000010 } This does'nt work Public Enum NotifyIconBalloonIconFlags NIIF_NONE = 0x00000000 NIIF_WARNING = 0x00000002 NIIF_ERROR = 0x00000003 NIIF_NOSOUND = 0x00000010 End Enum Remco You'll have lots of problems like this if you use an on-line converter. Our Instant VB C# to VB conveter produces the following (after putting the problem code in a method) - note the use of the hidden <event>Event ...Show All
Windows Live Developer Forums Interface coherence
I would like to know how can i implement a sidebar control for a smart content with the same style (color & control) of the image editor of wlw! Thanks, Fulvio As an afterthought, if you check out my most recent blog entry at http://scottisafooldev.spaces.live.com you will see what I mean. The side bar for my Feed Reader plugin is just using basic C# components in it. ...Show All
.NET Development How to read more memory with ReadProcessMemory
Hello everybody, I've written code that can read information from another processes memory using ReadProcessMemory API... and I get this as my output: ... 16 - 24 17 - 248 18 - 126 19 - 29 20 - 0 21 - 0 22 - 0 23 - 0 24 - 98 ... How would I use this information to read more information from the address Below is the code I'm using to generate the output I posted above: Process [] Proc = Process .GetProcessesByName( "Game" ); if ( EnablePrivilege( Process .GetCurrentProcess().Handle.ToInt32()) ) { byte [] buff = new byte [100]; int bytesRead = 0; ReadProcessMemory(Proc[0].Handle, ( IntPtr )0x6FBCC1E0, buff, 100, out bytesRead); for ( int i = 0; i <= buff.Length - 1; i++ ) { ...Show All
Windows Forms we get error datagridview is not declared....are datagrid and datagridView the same name of datagrid?
Dim debitTotal As Integer = 0 Dim creditTotal As Integer = 0 Dim counter As Integer ' Iterate through all the rows and sum up the appropriate columns. For counter = 0 To (DataGridView1.Rows.Count - 1) If Not DataGridView1.Rows(counter).Cells("debit").Value Is Nothing Then If Not DataGridView1.Rows(counter).Cells("debit").Value.ToString().Length = 0 Then debitTotal += Integer.Parse(DataGridView1.Rows(counter).Cells("debit").Value.ToString()) End If End If If Not DataGridView1.Rows(counter).Cells("credit").Value Is Nothing Then If Not DataGridView1.Rows(counter).Cells("credit").Value.ToString().Length = 0 Then ...Show All
Software Development for Windows Vista Windows WF and ASP.net
Hello, I am beginner to windows WF. I need a sample ASP.net which is completely controlled by workflow. I do need simple application wherein navigation to next page should be controlled by workflow using inbuilt controls available in windows workflow foundation. I have gone through some samples from Microsoft site, but it seems that they are not easy to understand. Thanks Sunil 2 great samples from Jon flanders Tom Lake I think the WF team is working on a better wf-asp.net integration in the next release of WF; take a look at this webcast for more infos. Enjoy. Serge ...Show All
