robertlamour's Q&A profile
SQL Server Problem with reportfooter and header
Dear sir, i am developing reports in sql server businessintelligence development studio...i deployed the reports in reportserver and i was able to see it..but my requirement is all my reports should have the same header and footer as of all other pages must uses custom footers and headers....hw to use thatcustom footer and header in my reports Regards, Pradeep Hi, do you want to create custom report headers or use the same for all reports This is not quite clear. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Finding out the version of TFS that is installed
All I am trying to find out the version of TFS that we have installed in our environment. This installation took place before TFS was released and we have since puchased the software and now I need to get it upgraded. How do I tell the version of TFS I know one way is suppose to be able to tell by the version of the Microsoft.TeamFoundation.dll which in our case is 8.0.50727.147 wich from the documentation does not match the RC1 or the Beta3 numbers. Any help would be greatly apriceated! Thanks! An easy way for checking the client's version is to go to Help/About, and click on "Visual Studio 2005 Team Explorer " in "Installed Products" list box. It'll list the version ...Show All
Visual Studio Express Editions Get data from RFID reader + RS232
Hello, I've an RFID reader which is connected with my local pc. I'm trying to get the data from the tags and put them in a database. See code below how I'am connected to the COM port but I can't get data of it... what do I do wrong Thanks Imports OpenNETCF.IO.Serial Public Class Form1 Public WithEvents SerialPort As New OpenNETCF.IO.Serial.Port( "COM1" ) Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click With SerialPort .PortName = "COM1:" '.RThreshold = 1 .Settings.BaudRate = OpenNETCF.IO.Serial.BaudRates.CBR_38400 .Settings.ByteSize = 8 .Settings.Parity = OpenNETCF.IO.Serial.Parity.even .Set ...Show All
Visual Studio 2008 (Pre-release) N'string_value' for column of type char or varchar
I've noticed that the sql generated by Dlinq always uses the N prefix even if the table column is of type char or varchar. Is there anyway to make Dlinq not generate the N prefix Is there anything equivalent to: sqlCommand.Parameters.Add("@paramName", SqlDbType.Varchar, 50).Value = string_value; Having the N prefix could potential cause performance problem if the char or varchar column is indexed and heavily used in queries. ...Show All
Visual C++ Extending CEdit problem
Used Class view to Create a new Class: class CEditEx:public CEdit. Without doing anything further an attempt a complining gets the following results: EditEx.cpp(12): error C2440: 'initializing' : cannot convert from 'size_t' to 'LPCSTR' EditEx.cpp(12): error C2440: 'initializing' : cannot convert from 'CRuntimeClass *(__stdcall *)(void)' to 'CObject *(__stdcall *)(void)' Everything is pointing to IMPLEMENT_DYNAMIC and is microsoft implemented code. Can someone explain what is going on. When I attempt to add a new variable to the project dialog the new variable type isn't shown. Thanks for any help MtEvans There has been 10 views since this post with no response... Maybe this need ...Show All
Gadgets Can I determine if the screen saver is active?
i have been playing around with a weather gadget and I would like it to stop refreshing if the screen saver is active. Can this be done Can I determine that the screen saver is active from my Javascript code Chris No problem - we use these on the inbox gadgets; for example, we turn off the clock when its not visible, to save cycles spent calculating graphic rotations. ...Show All
Visual C# EventLogEntry.InstanceID
hello, i'm a freshman on C#... things came up on reading the column value, EVENT of "event viewer" on Windows systems. i got the int64 enum by EventLogEntry.InstanceID but seems it's value in 65535 on tool of "event viewer". how can i get it just like what i see on event viewer. thanks a lot Richard Hello, thanks for your reply. at this phase, i just read the entries from event viewer. EventLogEntry.InstanceID was used to read the value of column "Event ID" on event viewer( i think...). some entries could show the same value with event viewer but most of the value is larger(more bits) then EV. seems that there's a translation fomula under EV. i'd lik ...Show All
Windows Forms Drawing parts of an Image
Hi - quick question. I need to use DrawImage/DrawImageUnscaled to draw certain source areas from a certain Bitmap, using a Graphics object, many times. I've tried many variations of the call and they all are very slow... 30~50 iterations takes almost a second. There's nothing I can do about the size of my image file either, unforunately. Making it a small-size PNG doesn't help at all. Also, I really want to avoid using DirectX here for the reasons of simplicity, load-up speed, and also the fancy advanced features like gradient brushes, etc. that I really need. So, to my actual question - is there any other way to greatly improve my speed without using another technology than GDI+ Thanks in advance... P.S. I should add that I can't reall ...Show All
Visual Studio 2008 (Pre-release) Service development broken?
I'm having a problem with an app that appears broken by the latest (.Net 3.0) CTP. Client side proxies are broken, apparently because System.ServiceModel. ClientBase.InnerProxy no longer exists. Trying to refresh the web Reference failed, because of a missing entry point - I think - in the 3.0 CTP. I uninstalled the Orcas extensions to VS and downloaded the latest. This refuses to install because of a missing prerequisite - the WinFX Beta ! Is there supposed to be an update for the Orcas beta to go with the .Net 3.0 CTP Here http://wcf.netfx3.com/content/BreakingChangesbetweenVistaBeta2andJuneCTP.aspx says that InnerProxy has been changed to Channel Ch ...Show All
.NET Development https server requesting a certificate
i manually go to a website and login, at first it had me set up a certificate, now it just asks me for my password. i want to run my app so that it starts iexplorer goes to that page sends a certificate info to the https server and sends my password so that i dont have to manually enter it. i am not really sure how to connect to the https server and send it my certificatio info and when its accepted how to send it my password. any ideas on how this might be accomplised what objects should i be looking at under Framework 2 OK, this sounds like client-side certificates. The fact that you see that certificate picker pops up means it's a client-side cert thing. You say you think the password is unrelated - ...Show All
.NET Development add mp3 to resource programatically
Hello, I want to add an mp3 file to resource so that I use that resource later in different applications and extract the needed file from there. I know how to add files using resourcewriter but I don't know how to add mp3 file. How can I do it thanks Did you try File.Copy(filename, @".\filename.mp3"); This will copy the file to the bin/Debug folder. You can also copy it to your Application.StartupPath or a folder within this directory. I do not know how to add to resources programmatically, but you could also store the file path in Settings. Does this help ...Show All
Windows Forms Designer weirdness when deriving from ComboBox
Hello, I have a form with a lot of combo boxes where the accepted values are either "true" or "false" on some or the values of an enumeration in others. Instead of having to copy and paste the values I wanted into the Items collection editor for each one, I decided it would be easier to create two custom types, each deriving from ComboBox, that automatically populate their Items collection. My original solution was pretty simple: class TrueFalseComboBox : ComboBox { public TrueFalseComboBox() { this.Items.Add(""); this.Items.Add("true"); this.Items.Add("false"); } } class PartOfSpeechComboBox : ComboBox { public PartOfSpeechComboBox() { PartOfSpeechType[] posArray ...Show All
SQL Server SSIS Package Hangs in Data Flow, magically works after opening and closing components
We're experiencing a problem where intermittently our SSIS packages will hang. There are no log errors or events in the event viewer. It will happen whether the package is executed from the SQL Job Agent or run from BIDs. When running from BIDs it appears to hang inside one of the data flows (several parallel pipes with sorts, merge joins etc...). It appears to hang in multiple pipes within the data flow component. The problem is reproducable, we just kill it and re-run, and it appears to hang in the same places. Now here's the odd thing: as we simply open and close some of the components in the pipe line after the place it hangs, a subsequent run will go further in the pipeline before hanging. If we open and close all the components af ...Show All
Visual Studio Tools for Office How to access "Compress Images" function with VSTO
Hi there, I'm sure everybody knows the functionaltity to compress Images within Office Documents. With the contextmenu of any image you can access the properties of the image an there is a button "compress". (I've never used the english version of office so I home my translation is correct). Then you can select some options for the compression (crop image, resolution,...) What I'd like to do is, access this functionality with VB.NET in VSTO I've already tried to find it within the Interop.Word Classes but didn't find anything. Does anybody know how to do this Thx in Advance Steve Hi Steve There's just some functionality that's not exposed in the Word object model, especially a few t ...Show All
Windows Search Technologies #msntb_toolbar_full_name#
To open any files or programe i can see an messege -#msntb_toolbar_full_name# cant config the files,since you upgraded and have not restarted your pc,pls restart your pc, if this problem presist uninstall #msntb_toolbar_full_name and reinstall again. what can i do pls help me to solve the problem best regards hoque Denise Hi I posted a solution that worked for me, which you see above your post. Have you tried doing that Stephen ...Show All
