DreamingBear's Q&A profile
Windows Forms Removing Componets (exp Checkboxes )
If I wanted to lets say... have a few checkboxes right... and I wanted to remove the ones that are checked... how do I do that Like.. remove the checkbox right along with its value. what I really need is to remove them.. because I'm creating a program that will check against IPs... but never mind that part for now... also.. I'm using a for loop not a for each loop.. because I also have a textbox that grabs information then splits it according to the information provided.. then added it in to an arraylist.. then loop it.. anyways.. just incase here is the code.. [code] using System; using System.Windows.Forms; using System.Drawing; class App { public static void Main() { & ...Show All
SQL Server Problem uploading .rdl
The report server cannot process the report. The data source connection information has been deleted I want to make a copy of a report. I go into report properties on the SSRS, click edit and download the .rdl to my computer. I then upload the report, using a different name. I then get the above error. If I copy the report to the same location as the shared data source, and the above error disappears. But now the report doesn't work - no parameters in the dropdown lists. My question is : Why does a copy of a report, uploaded to the SSRS, not work, when the original is sitting right next to it, with the same rdl definitin, in a working state I notice that the new report (copy) has two problems with the param ...Show All
SQL Server Copying data between database tables
Hi. I need to move data from one database table to another across database instances. A simple example of the typical move would be: [CODE] INSERT into destination_db.dbo.table1 SELECT column1, column2 , column3 , column4 from source_db.dbo.table2 [/CODE] My options are: 1. Create an SSIS package to perform the move. 2. Create sprocs and schedule the data move as jobs. 3. Write .NET code using sprocs to perform the move. I'll have to move hundreds of thousands of records, so I want the option that provides the best performance. I'm guessing that option 3 will be the slowest. Thanks for the help! BSHOE wrote: To tell you the truth, you could just try it and find out which runs faster. ...Show All
Visual Studio Tools for Office Word, copying parts... -- beginner
hello, i'm just starting on vsto and would like to ask the following: Assuming i have 2 doc files and want to compose a third one out of these two. what is the best way to do the copy/paste or inserts to the new file. At the moment i'm doing something like: Range par1 = doc1.Content; Range par2 = doc2.Content; Range par_sum = doc_new.Paragraphs[doc_new.Paragraphs.Count].Range; par_sum.InsertAfter(par1.Text ); par_sum = doc_new.Paragraphs[doc_new.Paragraphs.Count].Range; par_sum.InsertAfter(par2.Text); the above works but looses all the formating of doc1 and doc2 after the insertion to the new file. Is there a similar function / way that preserves the formating Thank you dan Hi Danny For most situation ...Show All
SQL Server JDBC Integrated Security problem
Hi, I am using the latest 6/26 JDBC driver to connect to sql server 2000 server. My url is jdbc:sqlserver://hostname:1433;integratedSecurity=true;. I was getting the following errors "Invalid integratedSecurity property value:true". Any suggestion to resolve this problem. Thanks. Hmm not really sure what the best way would be. I would create a windows dll and call from the Java app into my dll to use Windows impersonation APIs. This looks promising though: http://www.onjava.com/pub/a/onjava/2004/02/25/javavsdotnet.html page=4 ...Show All
SQL Server how to query against two instances of SQL Server in Query Pane
I have registered two SQL Server instances in Management Studio. I can see the tables and databases from both instances. My problem is how to combine data from both the servers in a single query I tries the following SELECT s.consortium_contact_data_request_id , s.copy_to_exchange_address_book,i.consortium_contact_data_request_id , i.copy_to_exchange_address_book FROM sandbox . gbiv . dbo . consortium_contact_data_request s, ivhost04 . gbiv . dbo . consortium_contact_data_request i WHERE (s. copy_to_exchange_address_book IS NOT NULL) go but received a message Msg 7202, Level 11, State 2, Line 1 Could not find server 'sandbox' in sysservers. Execute sp_addlinkedserver to add the server to s ...Show All
SQL Server Current Security Context Not Trusted When Using Linked Server From SAP
Hello, I am experiencing a head-scratcher of a problem when trying to use a Linked Server connection to query a remote SQL Server database from our SAP R/3 system. We have had this working just fine for some time, but after migrating to new hardware and upgrading OS, DBMS, and R/3, now we are running into problems. The target database is a named instance on SQL Server 2000 SP3, Windows 2000 Server. The original source R/3 system was also on SQL Server 2000 (SP4), Windows 2000 Server. I had been using a Linked Server defined via SQL Enterprise Manager (actually defined when the source was on SQL Server 7), which called an alias defined with the Client Network Utility that pointed to the remote named instance. This alias and Linked Server wo ...Show All
Visual C# Help a newbie! Converting VB6 to C#
Hi All, I've been given the unenviable task of converting someone's VB6 code for an upload form into C#. I'm not doing to bad at the minute but I'm struggling with some of the conversion. For example I have the following code (in C#): ====================== Hashtable strLang = new Hashtable(); Hashtable strAllowedExtensions = new Hashtable(); private bool SetLang() //*** SetLang() //* Add language strings to the array collection //*** { strLang.Add("INFO_FILE_SPEC", "- Is one of the following formats {0}, and is no bigger than {1}"); strLang.Add("ERROR_MAXSIZE_EXCEEDED", "The CV is bigger than the maximum size allowed."); strLang.Add("ERROR_INVALID_FILETYPE", & ...Show All
Visual Studio Express Editions Formulas like excel
Can anyone tell me how a program like excel handles formulas. From what i can see it looks like it stores the formulas somewhere away from the database. How does this work Or am i even close Can someone tell me how to create something similar if i wanted to store the value in a particular cell, how would i do that Dim cell1 as integer cell1=Me.MaintableDataGridView.Rows(0).Cells(0).value or would i use .formatted value instead of .value What i am after is a way to do something similar without having to declare every single cell. I would have to declare approximately 40,000 cells. ...Show All
Microsoft ISV Community Center Forums CRM 3.0 doesn’t save my settings
Hi, I’m having another problem in CRM 3.0. When I change any setting in the CRM system, everytime that I clicked in the OK button it should save my new settings and that’s not happening. How can I solve this Thanks, Dear Christian, I have installed Microsft Dynamics CRM 3.0 with SQL 2000. I am able to access CRM through web broswer as : http://localhost:5555 I have also configured LAPTOP as Client. I like to change default Date and Currency format of CRM which is mm/dd/yyyy and $ to dd/mm/yyyy and . When I click on System Settings it gives me error as: An error has occured.For more information,contact your system administrator. Please help me out. Cheers, Subodh ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bryce 5 (3d modelling) for free! (no strings!)
This isn't the latest version of Bryce, but if you're like me, and are just interested in creating free meshes to play around with in XNA, it's not bad. It's certainly a lot more use friendly than the Blender app I downloaded last week. http://www.daz3d.com/program/bryce/bryce5free.php You have to download it before 6th September, but it doesn't need installing, just unzip and run - so worth downloading and pasting the serial number in before then just in case! :-) After putting the serial number in, it'll also offers a free download of some extra stuff (I couldn't actually find what it added to Bryce, but I'm sure it was something!). Exports to .x files, which will be supported by the Content Pipeline, or can be converted to t ...Show All
Visual Studio Team System Suggestion: Selectively deploy objects
Hi, This is a feature request. I think it would be nice to be able to "switch off" an object from being included in the DBPro build. This way, you could include things in your project but that don't need to be deployed until a later date. I recognise tht this isn't as simple as just checking a boolean flag - there's the whole issue of checking dependancies and thus disabling those as well. Thoughts Comments -Jamie Your suggestions seem pretty reasonable. I am skeptical that anything other than performance problems and bug fixes will be taken for the v1 release at this point, given that the team is still trying to release before end of year (I'm sure we all know where the "just this one more feat ...Show All
Visual C++ C++/CLI managed code calling methods on unmanaged C++ classes call incorrect functions
Hi, We are doing a transition project where we are wrapping unmanaged C++ code with C++/CLI managed classes. The various methods and properties on a given managed wrapper class are mostly just pass-through calls to the wrapped C++ class. Mostly this works fine. Sometimes, however, the call from the managed code ends up in the wrong C++ function. IOW: void ManagedMethod1( void ) { m_pUnmanagedObject->Func1(); } actually calls pUnmanagedObject->Func20(). So far, it seems that every time this happens, the called method on the UNmanaged C++ class is declared "virtual"; it also seems that the incorrect method that is actually called is also declared virtual. I have tried in one or two situations to change the leg ...Show All
Visual C# HTML code in C#, problems with cotations!
How can I write this HTML code between double cotations in C# for example: if ( str.Contains( "<img src=" /i/ic0.gif " align=" absmiddle "> <a href=" /cat/") i tried if ( str.Contains( "<img src=""/i/ic0.gif"" align=""absmiddle""> <a href=""/cat/" ) but it didn't work! mcpJim wrote: THX alot. That's a big help. I am wondering if I can have your email contact. I am not Microsoft Support btw, but my email is on my moniker. My hourly rate is high, (as a contract developer) but for the experience of what I bring to the job it is well worth it. <G> -OmegaMan ...Show All
SQL Server Log Events is interrelated with Event Viewer Windows?
Hi everyone, I was wondering how do for 'Log Events' info going to Event Viewer Windows visor. Is it possible or it's just only private info for you SSIS. Thanks for your input, Hello. If I follow, what your asking, its if in the SSIS 'Log Events' tab/window, you can see Windows Events, those not associated with SSIS If so the answer is no. The Log Events window will show only events that SSIS generates, though it does not matter if you are currently using a SQL log provider or a windows event log provider. Hope that helps. ...Show All
