Bharath Nadig's Q&A profile
Visual J# too many images = greater load time
ok, ive got a good... 96 images on a form with scrollbars, as your scrolling left and right, it takes a while for the images to reload, is there a way to speed up the load Store the images inside your class, and then draw them in your OnPaint handler. You'd want to store them in a container of some sort, probably a Dictionary and come up with some way of looking up the images you need to draw, which you probably want to store in a struct with the place you want to draw them. ...Show All
SQL Server lower-case function
hi everybody I'm new to SQL Server. I'm using XQuery and i want to user a function lower-case(String) which is valid in XQuery but i can't execute it in SQL server. If Anybody have any idea whether it is allowed or is there any function like this then please help me Thanks If you would like to see this or any other function supported in a future version of SQL Server please file a request at http://connect.microsoft.com/SQLServer . This particular function already has been requested, so please add your vote to http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=124794 . Thanks ...Show All
Windows Forms how to send a mail with image ?
I want send a mail with image, but didn't using <IMG src='http://.....'> to link web site, I hope let receiver get the mail to read by disconnection, how can I do I try add the image as an attachment. Then reference it in the html email like this <img src="cid:filename.jpg"> It can be work when receiver use Out ...Show All
.NET Development OleDbCommand.ExecuteNonQuery "Insert Into Select From"
Hello, I am working with OleDb to perform a bulk insert from a temporary table to permanent database table, both of which belong to the same database. I am wanting to use "INSERT INTO <permanent_table> SELECT * FROM <temp_table>". The query I run in MS Access to perform this bulk load does process correctly, but not in code using OleDb. After properly setting up my OleDbConnection object, opening it, and properly creating my OleDbCommand object, my question is this: when I call "ExecuteNonQuery()" no rows are returned and no data shows up in the permanent table. My connection opens perfectly and the ...Show All
Visual C# Join W2K Domain
Hi, how can i join a Workstation to a W2K3 Domain with a C# Prog Please post a code sample. Andi I was looking for the same code. Since implementing it was so easy, I loaded up my Win2k VMWare machine and ran it against my Win2k3 Server VMWare machine. It does NOT work on Windows 2000. The error returned is a "ManagementException" with this message: "This method is not implemented in any class." Just thought I'd share this since you guys definitely helped me out. Thanks, Chris ...Show All
Visual C# Integrate OutLook with .net application
hi i want to integrate OutLook Express with .net Application. then plz tell me the steps or hint to code in application thanks and regards kavita You can't easily automate Outlook Express as it doesn't expose an API. Outlook, however, gives a full COM interface that you can automate like any other COM interface (ie add a reference to your .net project and code away). ...Show All
SQL Server MICROSOFT JET OLEDB 4.0????
hi i have another question.. is this connection provider supported on servers running under 64 bits if not which provider should i use instead is there any service pack or upgrades for this i think this is the problem running my job.. there's no other option left.. it is not permissions.. the path of the connection manager exists, the file destination does exist as well.. the curious thing is that my dts runs fine from SSIS but fails using the job.. do i need to have installed excel in my server to do this or any other component There is only 32-bit Jet provider, so you need to run the package using 32-bit DtExec.exe ...Show All
.NET Development ExecuteNonQuery hangs
Hi All, I posted a question some days ago, but didnt get any response. I guess I didnt word it properly. I'll try my best this time.... This is what I did: Create Command(connection, myTransaction) Set TimeOut property Try myCommand.ExecuteNonQuery() myTransaction.Commit() Catch ex as Exception myTransaction.Rollback() End try But the app hangs at myCommand.ExecuteNonQuery() statement. So, I tried to do it differently: I try to run the ExecuteNonQuery in a seperate thread, so I can abort the thread if I dont get a response from the database for certain time . But I cant abort the thread as the ExecuteNonQuery is still running( or hung ...Show All
Visual Studio Express Editions Intellectual Question??
Hi There Below Is a Is a Generated VB Simple Program. - A Windows Form with a Rich Text Editor Control loaded with the Text - "Hello World Without A Printer"....... < Global .Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class Form1 Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose( ByVal disposing As Boolean ) If disposing AndAlso components IsNot Nothing Then components.Dispose() End If MyBase .Dispose(disposing) ...Show All
SQL Server How can I create a one-to-one relationship in a MS SQL Server Management Studio Express Relationship diagram?
How can I create a one-to-one relationship in a MS SQL Server Management Studio Express Relationship diagram For example: I have 2 tables, tbl1 and tbl2. tbl1 has the following columns: id {uniqueidentifier} as PK name {nvarchar(50)} tbl2 has the following columns: id {uniqueidentifier} as PK name {nvarchar(50)} tbl1_id {uniqueidentifier} as FK linked to tbl1.id If I drag and drop the tbl1.id column to tbl2, I end up with a one-to-many relationship. How do I create a one-to-one relationship instead mradlmaier there is no such thing as an explicit one-to-one relationship. But, by the fact ...Show All
.NET Development Why the Compiler Invoke the PermissionAttribute object's CreatePermission Method On Compile Time?
I be at loss to CodeAccessSecurityAttribute from same document,i knowed when i create a class with PrincipalPermissionAttribute(inherited from CodeAccessSecurityAttribute) signed and then C# Compiler Compile the code, it do below steps: 1.Net Compiler scans the Application Codes and finds CodeAccessSecurityAttribute 2.Compiler Create the Attribute Object and set properties 3.Compiler invoke the Object's CreatePermission Method,get a Permission object returned then set properties then return it to Compiler. 4.Compiler then Invoke the Permission object's ToXml method and Get a SecurityElement returned. 5.finally, Compiler ...Show All
Visual Basic Are Interop assemblies Redistributable?
Hi... Just want to be sure before we deploy our project. Are Interop assemblies Redistributable Thank you.... ...Show All
SQL Server Prediction Query in MS Association Rules
Hi! I'm building a mining model wiht MS Association Rules. After processing this model, the result includes some rules(example): E = Existing, C = Existing -> B = Existing F = Existing -> E = Existing C = Existing, B = Existing -> E = Existing F = Existing -> B = Existing B = Existing, A = Existing -> C = Existing F = Existing, B = Existing -> E = Existing F = Existing, E = Existing -> B = Existing D = Existing -> A = Existing C = Existing -> A = Existing E = Existing, A = Existing -> B = Existing I want to buid a query that has two or more items on the left of the rules, example: E = Existing, C = ...Show All
Visual Studio Error loading IIS Log report from Crystal Report for VS2005
I have a web page with CR Viewer in ASP.NET 2.0. When I load a report connected to a IIS Log file I get the following error : Failed to load database information. Details: The database DLL 'crdb_p2smsiis.dll' could not be loaded. Error in File C:\DOCUME~1\MYPC\ASPNET\LOCALS~1\Temp\Logged Customers {E2F6E1D3-855D-4B73-B5BA-D59E4F2D28BE}.rpt: Failed to load database information. The report works fine when using CR Editor on the same machine. Reports that are using a database connexion are displayed correctly in the editor and in the viewer page. ...Show All
Smart Device Development Windows Mobile 5 and secchk.lib
I'm trying to add a WM5 target to my PPC2003 solution (Visual Studio 2005). I installed the SDK, added a new build type (I derived it from my PPC2003 build type), and chose the correct emulator for the target device. The problem is that even if I have /GS- in the compiler settings (disable security checks), I am still getting LNK1104 for secchk.lib. As far as I can tell, secchk.lib doesn't even exist in the WM5 SDK. I can't find any explicit references to secchk.lib anywhere in the project. Does anyone know where I went wrong, or what the solution is Ryan had emailed me offline about this through my ...Show All
