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

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

Glenno

Member List

Christian Sparre
shine46055
Kostadin
Sam Johnson
jbujold
dtrocchio
jkushiner
lil_isie
lemmi
GrandpaB
moondaddy
Tiny Pan
ivanbolcina
AcidRainLiTE
MDesigner
lleoneye
ivanchain
tattoo
Danny Jr
Prashant_Rai
Only Title

Glenno's Q&A profile

  • Internet Explorer Development Default Search Provider

    Is it possible to change the default search provider according to the web site the user visits. For example, if I make a provider available for test.com, I want this to be the default provider whenever someone visits test.com, otherwise by default the user searches the currently selected provider, then they have to select my provider. It would make more sense if when visiting test.com thats the default provider. Thanks. ...Show All

  • .NET Development No coherence with the number of weeks per year. GetWeekOfYear()

    The number of weeks per year depends of the year, the result is either 52 or 53 To get the number of weeks in a year, I use the Calendar.GetWeekOfYear() method. Here is the code I wrote thanks to a MSDN article: // Gets the Calendar instance associated with a CultureInfo. CultureInfo myCI = new CultureInfo ( "fr-FR" ); Calendar myCal = myCI.Calendar; // Gets the DTFI properties required by GetWeekOfYear. CalendarWeekRule myCWR = CalendarWeekRule .FirstFullWeek; DayOfWeek myFirstDOW = myCI.DateTimeFormat.FirstDayOfWeek; DateTime LastDay = new System. DateTime (year, 12, 31); return myCal.GetWeekOfYear(LastDay, myCWR, myFirstDOW); He ...Show All

  • Visual FoxPro combo box inside a cell in grid

    hello, i wonder how to integrate the combo box in a cell of a grid. i saw this in one of the existing apps. i want the user to be able to select a record in that combo box and changes the record on the other cells in the grid. can anybody here to please guide me on how to do it. thank you jason what you can do is drag a combobox to a hidden part of the form. and everytime the user would click on a cell in the grid, you would change the coordinates of the combobox and make it visible. Then after the user clicks the combobox, you would transfer the text from the combobox to the grid and thereon make it invisible. ...Show All

  • .NET Development Can I dynamically incorporate feature to assembly using CodeDOM?

      I have same problem :    I need to insert call to begin of the call of some defined and widely used class,  (without interfaces!). What technology permits this:Emit, CodeDOM       Once it represent object graph - can I incorporate my call into this graph    Or just only can create assembly as a whole thanks you. Check Mike Stall's post in this thread ... ...Show All

  • Windows Forms Printing an image

    I have constructed a simple program that lets you select and image and open a print preview dialog to see and print the image. I also wish to clone the image to a user selected value. Here is my code: ...Show All

  • SQL Server Time Calculations and Calculated Measures

    Hey Guys, I have used the following document to create some time intelligence in the cube as the standard way that is in SSAS didnt fit to what we wanted. http://www.obs3.com/A Different Approach to Time Calculations in SSAS.pdf I have implemented the suggested solution and it works well, although i cannot add in a calculated measure in the scope statement. Everytime i do, i get the following errors: Error 1 A set has been encountered that cannot contain calculated members. 0 0 Error 2 MdxScript(Sales By Market) (51, 1) A set has been encountered that cannot contain calculated members. 0 0 Error 3 The END SCOPE statement does not match the opening SCOPE statement. 0 0 Error 4 MdxScript(Sales By Market) (118, 1) The ...Show All

  • .NET Development ReferencedAssemblies and Blank Assembly.Location

    I'm having a problem dynamically compiling code that needs to reference an assembly loaded from a COFF image byte []. The Assembly from the COFF image has a blank Location property because it was not loaded off of disk, which means I can't use it in CompilerParameters.ReferencedAssemblies. Is there a way I can provide this in-memory assembly as a reference assembly to the compiler I have a work around that involves dumping the assembly bits to disk, then reloading, and once I'm done, cleaning up, but I was hoping for a cleaner way. Thanks. Sinclair Schuller I believe that's the cleanest way. The compiler is launched as an external process, so the in-memory assembly is not available to it. ...Show All

  • Windows Live Developer Forums Labels on Maps

    Hi All, By default or otherwise, in the Road style, it shows the labels on the maps (like the state, city and street names). Is there any way to hide these labels using the API We have a strong requirement from our client that these labels be hidden else the map is too cluttered for their use. Any help on this is appreciated. Thanks, Sanjeev As Jeff mentioned in his wish list there is currently no class assigned to the tiles. The only way to effect them in css to apply to all img tags in your map div which is not ideal: < style type ="text/css"> #myMap img { filter : alpha(opacity:40) ; opacity : .4 } </ style > </ head > < body ...Show All

  • .NET Development oledb parameters

    how to use oledb parameters in oledb command object I declare the oledb variables & others like this dim cmd as new oledb.OledbCommand dim prn as new oledb.oledbParamter prn.ParameterName = "@para" prn.OledbType = varchar prn.value = "" 'say a string 'etc etc ------------- then i add this paramter in the command object cmd.parameters.add(prn) cmd.commandText = "select * from table where field = @para" cmd.connection = cnn ' say a connection object cmd.ExecuteNonScalar ' I just need one column actually as the query is supposed to return one row only ********************************************************************* when this code is executed, the sys ...Show All

  • Windows Forms Problems with form after closing Word

    I have an app that runs out some reports in Word. Word starts and opens the document on top of my project. When I close Word by clicking on Close box of the Word application, Word disappears , but my application is messed for a couple of seconds - some controls are visible, some of them are not. Looks like some kind of Video problem. Is there any way to avoid such a behavior or does anyone know whats causing this I'll take a guess, without knowing exactly how your app is currently written. I suspect that you creating a Word component within your application that spawns Word. You must have controls or other objects that are related to this instance of Word. By closing Word, those objects are poi ...Show All

  • SQL Server Group By, Max(date) query problem

    Hello all: I have an invoice header and detail tables and a customer table using sqlserver 2005. The Detail invoice table has price and product id. The header has the date and customerID. I need to create a list of the most recent invoice date (and the product price) for each product for each customer. I can't use the group by because when I select both the max(date) and the price (as well as the productID and customerID which all have to be included in the group by) , I get more than one date per product per customer. I can only get the most recent date when I leave out the price and headerdetailID from the field selection. Any help would be appreciated. Here is sample data & results. invoiceHeadertable invheaderID ...Show All

  • Visual C++ Compile assembly language program in Visual Studio 2005

    I am curious how to compile an assembly language program from the IDE. The program is in full segment definition and I can compile and link it using ml and link on the command line, although, I would like to be able to do the same thing from the IDE. The only examples I can find are for compiling inline assembly for previous versions of Visual Studio. That said, I have just upgraded from visual studio 6 so the interface is a bit new also. Some steps to do this: 1) create a Win 32 Console Application project (for example). In the project wizard go to the Application Settings page and check Empty Project option so you don't get any C/C++ files. 2) Add the assembly files to the project. Altough ther ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need a little bit of LinkedList help

    While this doesn't exactly pertain to XNA, I can't find an answer for how to do this correctly and I'm running into this problem making an XNA program. Basically, I'm re-creating the Windows Starfield screensaver using XNA. As such I've created a simple class called Star, and I've got a LinkedList of Stars for my program, as linked lists are incerdibly fast for removing items from the middle of the list. As such, I've got some code like this: foreach (Star currentStar in stars) { currentStar.Update(); } that works beautifully to update all my stars quickly. The way I've got my stars set up, though, the Update function returns -1 if the star has passed the screen't border, signifying that the star c ...Show All

  • SQL Server Trying to connect to SharePoint database

    I am having trouble connecting to the SharePoint database on my web server. Our company intranet is accessed by http://webservername/ and the SharePoint site is accessed by http://webservername:2020/ (I wanted to put it on a different port to not interfere with our old intranet). Anyway, I need to connect to the DOCS table on the content database, but I can't seem to connect with SQL Server 2005. When I connect to webservername I see our company database but I don't see anything that has to do with our SharePoint stuff. I've tried connecting to webservername, webservername:2020 and webservername\SharePoint and webservername:2020\SharePoint with no results. If this isn't the right MSDN forum for this I apologize, but any advice would ...Show All

  • SQL Server Notification services in SQLExpress

    Does SQLExpress support notification services I read all kind of opposite statements. Some websites say they are supproted, other websites say it's not included. Take the official site of Microsoft: http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network