Software Development Network Logo
  • Microsoft ISV
  • Visual C#
  • Audio and Video
  • SharePoint Products
  • Visual Studio
  • Visual FoxPro
  • .NET Development
  • Visual C++
  • Smart Devicet
  • IE Development
  • Visual Basic
  • VS Team System
  • Windows Forms
  • Windows Vista
  • SQL Server

Software Development Network >> hrubesh's Q&A profile

hrubesh

Member List

Trinka
Microsuck
shades921
Shilpa_nad
opera100
Scythen
AlanKohl
Steven Matuszak
dnyandeo
Aneo
Anand Raman - MSFT
Marcel82
montechristo
cdx11356
toddhd
Lalitk
Rich G
Bartosz
Gary200
Amir Gheibi
Only Title

hrubesh's Q&A profile

  • SQL Server Links of the report from the report server

    Hello, Besides the one in the subscriptions where you tick a checkbox to include the report link, I would just like to ask if its possible to get the link of a report from the report server and add it in another report as reference Like for example, I have report A. If i tick the checkbox of Link in the subscription of the report, the server will send the report with the report link in the bottom of the report. Now I have report B, and I would like to show report A link in that report. Please advice if this is possible.. We have too many reports to just hard code every single report link in one report.. Thanks in advance Hello Bunny, I don't think what you are requesting is possible. Howe ...Show All

  • Visual C# ERROR: Fileupload2 does not exist in the current context

    I have a formview(visual studio 2005) which contains a fileupload control named 'FileUpload2'. I get an error message saying ' FileUpload2 does not exist in its current context. I have tried placing my code evrywhere on the .cs page and the same error occors. please help me!!!!!!!! protected void Button1_Click(object sender, EventArgs e) { FileUpload f = (FileUpload)Page.FindControl("FileUpload2"); FileUpload upload = (FileUpload)FormView1.FindControl("FileUpload2"); String savePath = @"\Images\"; if (FileUpload2.HasFile) { String fileName = FileUpload2.FileName; savePath += fileName; FileUpload2.SaveAs(savePath); } } Above is the .cs file where the error occurs. below is the aspx page: <InsertItemTempl ...Show All

  • Visual C++ Memory mapped file size limit

    I have a program that creates memory mapped files (shared memory) and are not mapped to a file directly. When I try to allocate a bunch of memory mapped files, it works fine with 128MB and 256MB chunks but fails with 512MB and 1GB chunks. CreateFileMapping succeeds but MapViewofFile fails with GetLastError 8 (ERROR_NOT_ENOUGH_MEMORY). This is on a Windows 2003 server 32-bit edition SP1 with 4GB ram and the page file size is set to 'System managed'. Any ideas as to why allocation of say, five 256MB memory mapped files works fine but allocation of one 1GB memory mapped file fails with ERROR_NOT_ENOUGH_MEMORY Thanks in advance, Shashi. This is not a VC Language question; it is a Windows question ...Show All

  • Visual C# Unable to change the configuration mode from release to Debug in VS 2005

    When I change the configuration mode from release to Debug it is not changing, it is hanging. I had to kill the visual studio. I uninstalled and installed the Visual studio also. I tried to change using configuraiton manager also. Nothinkg seems to work. I am not sure what else I can do. Any help would be appreciated thanks knvdssr Peculiar. Is it for a specific solution or any solution Does the solution have multiple projects What type of project/solution is it Michael Taylor - 2/7/07 http://p3net.mvps.org ...Show All

  • Windows Forms Updating a specific row in a column

    I am trying to build sign in/sign out database. I built the sign in form to store name, company and sign in time into table1. I then built another form for sign out. In the sign out form, i have one combo box, combo0,  that looks at the names in table 1 and shows that as a drop down. The next box is text box, text1, that looks at column 1 from the drop down combo0 and shows that as the company, i.e. "=combo0.column(1)". The name and company should match. I built another text box, text2, wherein people enter their sign out time. Since the sign out form references the records from table1, how do i get the sign out time to update the correct row in the sign out column and row in table1. Currently, ...Show All

  • .NET Development send a mail message

    I am trying to send a mail message. the body of the mail message must contain data picked from a web form, as an attachment. can anybody help urgent take a look at this on sending emails with attachments also: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760457&SiteID=1 ...Show All

  • Visual Studio How to make one MSI for three application

    Hi All....... I have three application. One is window application and other two are window services. Now i want make only one msi for all three applications and install each application one by one. I also want in following order each application install 1. Window Service 1 2. Window Service 2 3, Window Application Plz help for making this type of MSI. Thank for giving this information U have sample code for how to create custom steps for installation(how to call installutil) ...Show All

  • SQL Server Urgent: SSIS data Convertion ??

    Hello all Ho can i convert Integer to String in SSIS Derived column. Thanks in Advance Raj Lakamana MoonRiver000 wrote: Yes, you mentioned ' derived column '. But I already used ltrim(rtrim( )) before 'Data Convertion'. The same problems happened. What is "The data value cannot be converted for reasons other than sign mismatch or data overflow." Thanks How are you converting the data What is the source column data type What is the destination column type Are there NULLs in the data ...Show All

  • Visual C++ wincon.h missing SetConsoleDisplayMode()!!!

    BH Im using Windows XP Home. I installed Microsoft Platform SDK 2003 R2, and already adjusted the directories with my VC++ 2005 Express. (p.s. should I really use this sdk, or the 2003 sp1 ) When I try to make A win32 console window to full screen, using SetConsoleDisplayMode(HANDLE, DWORD, PCOORD), the compiler complains that the identifier is undeclared. So I opened wincon.h and indeed it does not have the declaration of SetConsoleDisplayMode()! I checked MSDN, and the function is still listed! said to be included in wincon.h! http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/setconsoledisplaymode.asp Whats going on is there a alternative better way to set full screen ...Show All

  • Visual C++ Linking-Error with VSC++ 8.0

    hey ho, I just updated my project from VSC++ 7.1 to VSC++ 8.0 Express Edition. Unfortunately, i get a linker error every time i compile my project: 1>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ( $ 6U $char_traits@D@std@@@std@@YAAAV $basic_ostream@DU $char_traits@D@std@@@0@AAV10@PBD@Z) already defined in main.obj 1>Release/test.exe : fatal error LNK1169: one or more multiply defined symbols found With VSC++ 7.1 everything worked fine. my Project is a static LIB (Multithread-DLL) and an ...Show All

  • Internet Explorer Development Mixed Content in IE 7

    I have a secure web page (https) that contains insecure items (image files from the client hard drive). So there is a mixture of secure and insecure items on this web page, which in unavoidable. The problem is that IE 7 is displaying the "mixed content" security warning message every time the web page loads or is refreshed. I want to inhibit this message on the browser. Previous versions of IE would respect a "Display Mixed Content" option in the Miscellaneous section of the IE options. For example, I could add the web site to "trusted sites", set "Display Mixed Content" option to Enabled, and users would not see this message. IE 7 is not respecting this setting. It shows the security warning message ...Show All

  • Visual Basic Iterating through a list of folders

    Hello all, SUper Noob here. I have a very basic question regarding iteration through a list of folders that I need to search. The object of this program is to look for files older then 10 days old in a given set of folders. As much as I dont mind doing if statements for each folder object I specified, I would like to be able to grow the list and not have excessive code. Anyway, any and all suggestions would be greatly appcriciated. Thank you and take care. This is what I have now: Sub Main() Dim fso, Efile, EFolder1, Efolder2 fso = CreateObject("Scripting.FileSystemObject") EFolder1 = fso.getfolder("C:\temp2") Efolder2 = fso.getfolder("C:\temp3") For Each Efile In Efolder2 ...Show All

  • SQL Server Throw sqlException

    I'm using VS 2005, c#, asp.net and SQL Server 2005 for a web application. I want to throw a sqlException from one of the methods if there is any problem with DB connection or execution of the query. I have written the following code, but I'm getting error: try { } catch (SqlException sqlEx) { throw sqlEx.Message; } When you are having connection problems, you will most likely be getting a ADO error rather than a SQL Server error -and that will usually be caught as a SqlException. However, a query execution error is a different animal. Obviously, syntax or query compilation errors will be immediately tossed back as SqlExceptions. But a logic error, a design flaw, and even a 3 A ...Show All

  • Visual Studio Express Editions Reversing a list order

    Hi there. Does anyone know how to reverse the order of a list. I have a column set up of names. How can i select this list and have it reverse the list in a separate column. I dont want it reversed alphabetically, or numerically... my example would be this... Cell A1 - A5 Paul Barry John Steve Jim i would like to either select the 5 cells and have click a button to reverse this order, or have it return the reversed order in column B1 - B5... giving me the result of Jim Steve John Barry Paul The only way ive seen how to do it is with the offset function but ive had alot of trouble with that for some reason and hoped someone had an idea. Thankyou! Sorry i wasnt clear. im using microsoft ex ...Show All

  • .NET Development Garbage Collection never collects garbage from generation 2 (finally resulting in OutOfMemory exception)

    Hi, I have been searching the net for many hours trying to solve my problem. Since many questions regarding the GC are answered here I hope you can help me. We have built an web application based on ASP.NET (v1.1), the enterprise library (ie caching and logging blocks) and a custom framework. The problem is that the w3wp.exe process keeps growing and growing untill it recycles around 600 MB. When monitoring the heaps I discovered that the heap basically only grows, expect for some small memory releases now and then. I used windbg to analyse a memory dump (created on the moment of recycling). It seems that many objects reside in the generation 2 heap while not having any references to other objects. There are for instance 2000 dataset objec ...Show All

©2008 Software Development Network