Mehrdad_E's Q&A profile
Visual C# How can I prevent others using my assembly?
How to trust the calling assembly that loads my assembly. I don't want anyother client load my assembly except specific assembly Sean Vikoren wrote: To get really secure code, you will need to compile to a native format. Of course when you do this, you loose the flexibility of running in the CLR. The security protections offered by the CLR would also be lost. Considering that no call ...Show All
SQL Server Creating a View with detailed informations
Hello, I have a code for creating view in T-SQL. I want to ask you guys, i want to make this result set should grouped by DepoAdi column and StokKodu (this is an alias sure you can get it from code). Did i make it on group by line My second problem is i want to add 2 columns to this query. This 2 column will calculate some values with SUM function and - operator. At CRM.Depolar.DepoBilgileri table i have a column named Miktar (this one store ...Show All
Visual Studio Express Editions application run at windows startup??
how could I make my application run at windows startup,, and thanx in advance . Add your program to Start button > All Programs > Startup ...Show All
Windows Live Developer Forums I am not able to sign in on MSN messenger Please help anyone!
Recently i have been having porbelms with signing in on MSN, i think it is due to me agreeing to download the latest MSN. From this moment i am not able to sign in. I clicked on troubleshoot (80048883) and it showed 'Your gateway appears to be offline' which i dont know what it means. Then i went on on the Tools menu, click Options , and then click Connection, to check my connection and it showed 'You are currently NOT connected t ...Show All
Visual C++ MFC to .NET bitmap manipulation syntax equivalent
Hi, I need to find VC++ .NET equivalent for doing following Bitmap manipulation. pDC->SetStretchBltMode(STRETCH_DELETESCANS); if (!m_ScrollMode) { // Blit bitmap (inverted HEIGHT for top down bitmap) StretchDIBits(pDC->m_hDC, 0,0, (r.right-r.left), (r.bottom-r.top), 0, 0, & ...Show All
Visual Basic Slow GDI+
Hi All, Does anyone know how to improve the drawing speed on form paint GDI+ is very slow. Each time, resizing the form or switch from background to foreground, it cause the form repaint. I tried the DoubleBuffered, suspendlayout etc property or method but only got little bit improvement. My application need to display over hundred of controls and graphics on a form, but it make me crazy to found out how to speed up t ...Show All
SQL Server Thank you so much, Chad.
Strange..... Anyways, is it possible to add the tool for Database Maintenance Planner to the existing DB installation If so, how do I do that Would someone please help me on this Thanks a lot in advance. Chris. Hi Chris. If you don't see it, that could mean you aren't logged in as a sysadmin, they are the only logins that are allowed to view/modify maintanence plans. It should be visible under the ...Show All
SQL Server Does a checkpoint file record a package's state
The state of a package at any one point in time is determined by the values in all of its user variables as these are the only properties in the package that can be changed and persisted throughout the runtime of the package. Is the package's state stored in a checkpoint file in the event that the package fails In other words are the user variable values stored in the checkpoint file Thanks Jamie I disagree, I belie ...Show All
Visual Basic Copy file(s) to CD using new My Namespace
I recently downloaded/installed VB Express version and really like it, however I was trying to do something which I thought would be very simple but have ran into a problem and cannot determine whether it is me or the product. I'm using the My namespace to have the user select a directory off of the maching using the FolderBrowserDialog and then using My.Computer.FileSystem.CopyFile to copy the files to the CD Drive. I get the following excep ...Show All
Windows Forms DataGridColumnStyle column ordering in code
How do I change the order of the column styles programmatically I know how to change the order in the IDE, and I can add a new column t the end of the styles collection, but how do I add a new column to a specific position in the grid I think if you trying to change the order of the columns in datagrid which has a table as its datasource, you may find the following useful. ' inialize your dataset ds ...Show All
Visual C++ problem with moving project from vc++6 to vc++2005 express
hello all, i am porting rather large dll projects from vc++6 to vc++2005 express and having several problems. i am using somel dll's whitch i built new myself with vc++2005. but also i want to use some libs that are old and compiled with vc++6. is that even possible, or any kind of workaround to my problem i know that there have been some changes concerning the iostream implementation, i am not sure thou if this does affect ...Show All
SQL Server Oracle OLE DB provider (64-bits)
Hi all, We tried running the replication in 32 bits platform and it works fine. Currently, We are trying to implement replication from oracle to mssql 2005 which is running in 64 bits platform. When we add an oracle publisher, it shows error '21629'. Seems like the downloaded Oracle ole db provider is 32 bits. Is there any way to check the ole db version Also, I found that Oracle OLE DB provider (64-bits) ...Show All
Windows Forms TreeView icon Image Quality
I'm using the treeview control to display some heirarchical data and it seems to working fine, but the icon image quality is horrible. I'm using icons that come with VS2005 (Image Library) and they look great when browsing the icons in Windows Explorer, but look terrible when bound to a treeview node. Anyone seen this behavior before Hey Max...thanks for posting Yeah...I've set the imagelist colorDepth prope ...Show All
Architecture Smart Client for Web applications
Is that Smart Client architecture can be used only for Windows forms (Windows Application) Can it be used for Web application If so can you suggest article for the same, as far as my research in msdn I was able to find smart client only for windows form. I need an article on implementing smart client for Web applications. Pls suggest me asap. While in today's world you can get web applications to offer "Rich client" ...Show All
Visual Studio Express Editions Create a new database programatically?
Is it possible to create a new SQL Express database progamatically from VB Express It is easy enough from the IDE, but I want to determine the schema dynamically based on user input. I have not found this discussed in Help or other articles. Can anyone point me in the right direction Thanks, --Mable Yes! I could have read Help files for a month and not figured this out. Thanks for taking the time to help out a s ...Show All
