IgorB's Q&A profile
.NET Development Custom Section in .Net 2.0
Hi, I am trying to do add a custom section in the config file similar to this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=66506&SiteID=1 . I am able to get it to work and I am also able to add a custom section element programmatically . This is what my custom section looks like after I add a element to the config file programmatically : < configSections > < section name = " settings " type = " WindowsApplication1.Settings.SettingsSection, WindowsApplication1 " /> </ configSections > < settings > < add key = " Test " value = " Test value " description = "" /> </ s ...Show All
SQL Server ReportViewer control
trying to build a test page with a single ReportViewer control < rsweb : ReportViewer ID ="ReportViewer1" ProcessingMode ="remote" runat ="server"> < ServerReport DisplayName ="VSTestReport" ReportPath ="MyReports/VSTestReport" ReportServerUrl ="http: //pugrs/reportserver"/> </ rsweb : ReportViewer > build fails with 401: Unauthorized. Not even sure where to begin troubleshooting this one. Any ideas Thanks! Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it ...Show All
Visual Studio Express Editions Mdiparent - Is this bug solved?
I've an mdiParent (maximized) with X children (maximized). The mdiParent contains a menustrip. I load the children into the parent. The first time when I load a child into the parent, the menustrip hides a part of the child. When I minimize the parent and then maximize it, the position of the child is correct (below the menustrip). The same problem: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=180826&SiteID=1 Please do not post duplicate posts. If your question has not received any replies it is most likely because nobody that can give you an answer has replied to it yet. Have some patience. Your other p ...Show All
.NET Development source code protection options
Hi all, Could somebody give me any resources that discuss options on how to protect source code from any efforts to reverse engineer it from the built executable I've read about the Dotfuscator utility that comes with the visual studio 2005 beta... I'd like to learn about how to encrypt the exe, and any other techniques out there. Can anybody help me Thanks, cope22 Hey try my software http://www.pelock.com it's software copy protection (so called exe-protector) and license key system (with strong rsa2048 bit key encryption)! If you would like to ask about *anything* about it use http://www.pelock.com ...Show All
Visual C# What's wrong with my word.application in multithreads?
I wrote an own-defined threadpool and used waitcallback to delegate a function in each thread in pool. But there are some problems with the program: when I run the program, it gave no response and I can see the "winword.exe" process in the task manager, no exception occurred. The problem seemed to be at running this statement: Word.Application msWord = new Word.ApplicationClass(); Although I knew the word.application is automation and STA-based and had set the threads as STA, the problem was still on. What can I do now PLS help me. Any suggestion available would be great. ...Show All
Audio and Video Development Windows Media Player
Why doesn't version 10 work with Windows 2000 Please give me an explanation and don't tell me to buy Windows XP because 2000 is better. Hi Jimmy, This forum is for questions related to Media Foundation, which is the new multimedia SDK in Windows Vista. For your question, a better forum would be the Windows Media Player newsgroup or WMTalk mailing list at http://www.microsoft.com/windows/windowsmedia/community.aspx It takes additional effort to make a product work for every OS version. While it's great to see your enthusiasm for new media features offered by WMP10, unfortunately the intersection of users that are still using Window ...Show All
Windows Forms How to Deploy c# windows app with msde
I am trying to learn how to deploy a windows app coded in C#. I am using the latest version of the msde and am not sure how I incorporate the database that uses sql server authentication. The logins are stored in a table in the db. Please provide a code sample or a good reference book. I have read quite a few Wrox books and&n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. error 1304 and error 2350
Hi durirng the install process it gives the error messages listed in the subject but i get them the following way: during the coping of the files it comies up with and "Error 1304.error writing to file microsoft.xna.ui.xnastudiopackage.dll verify you have access to that directory" it tels me to cancel or rrtry and i clikc retry as i am the computer admin and it then pops up with the "internal error 235" and i am forced to click ok where it cancels how can i fix this thank you in advance. Note: i tried this with the installer files under my documents and first shared documents. Is this th ...Show All
.NET Development Preventing .NET DLL execution
I need some way to prevent my .NET DLL assemblies from being called by unauthorized executables. Is there some way to do that I have tried the StrongNameIdentityPermissionAttribute, but it's not enough. Can be anything, even at low level C/C++ code. I cannot trust in the use of the .NET Framework Configuration tool, because I'll not be an administrator for the systems where the DLLs will be running. But I should constrain the execution of those DLLs by unauthorized executables. You should write a C dll which acts as a password verifier, and then write your code so it requires a password to run ( so the ...Show All
Visual C# problem with method parameters....
I a calling an API method which requires passing the reference to an array as parameter. The problem is with that parameter The actual function is BOOL __stdcall G3BlockScan(int hRadio, DWORD *Freqs , int Count,int StopSquelchRaw, DWORD FeedbackTime,HWND WinHandle,DWORD Msg); Here Freqs is an array whose contents are mofied by the The API function call. I have wrapped this function in C# as follows.. [DllImport("wrg303api.dll")] public static extern bool G3BlockScan(int hRadio, uint [] Freqs , int Count,int StopSquelchRaw,uint FeedbackTime,IntPtr WinHandle,uint Msg); and the function call is like this ..... ..... some code..... ...Show All
SQL Server Error in Processing Cube while ROLAP Storage
Hello, When I process the Cube having ROLAP storage, it gives the error as below, any thoughts on this would be greatly appreciated. Errors in the back-end database access module. ROLAP partition with the Name='Fact One' Id='Fact One' can not have aggregations at the (all, all, ... ) level. Aggregaion skipped. OLE DB error: OLE DB or ODBC error: Cannot create index on view "TESTROLAP.dbo.Agg_Fact One_0_1_1_1_1_1" because it references derived table "dbo_Fact_One" (defined by SELECT statement in FROM clause). Consider removing the reference to the derived table or not indexing the view.; 42000. Thanks, Nasir ...Show All
SQL Server SSAS + Time Dimension and Hours
Hi All, I'm very new to the whole Analysis Services scene and I'm stuck. I need to create a time table with the following attributes: TimeKey, Hour, Day, Month, Quarter, Year Trouble is, I can create a dimension, but without the Hour part... I've read through the tutorials and online help, but I cant find anything to help me. I've found a couple of articles that suggest having a Day and TimeOfDay dimension, but not how to create them. Could anyone help Thanks I absolutely agree with having a Date dimension and a separate TimeOfDay dimension. Creating such a TimeOfDay dimension table is ...Show All
.NET Development When(why) use DataSet?
I have a very simple Access database which consists of only one table and an auto number field (ID) has been used as the primary key for the records. All the columns are directly mapped to a object's properties except the ID property of the object is set to 0 initially. I only use OleDbCommand object to execute sql statement but is there any way to get the value of the ID column of a just inserted row (I want to update the ID property of the object after it's been added to the database) I know there's a RowUpdated event that I can use to get the data when DataAdapter and DataSet ...Show All
Visual Studio Team System Latest Distributed System Designers
Am I correct in thinking that the latest evolution of the Distributed System Designers is the Beta 2 So the July CTPs do not include updates to this functionality Many thanks, Tony. ...Show All
.NET Development Performance Issue - Managed Vs Unmanaged Code
Managed C# versus Unmanaged VB I have done a performance test against C# and VB i.e. managed versus unmanaged code. Important : We have taken measurement of time using the Ticks. Ticks : - The smallest unit of time is the tick, which is equal to 100 nanoseconds. A tick can be negative or positive. 1 nanoseconds = 1.0 × 1/1000000 milliseconds 1 Tick = 1.0 × 1/10000 milliseconds GetTickCount : - The return value is the number of milliseconds that have elapsed since the system was started. Load Controls Test In the above test ...Show All
