MartinaL's Q&A profile
Gadgets resize the gadgets by default
hi everybody, I have some problems whith te size of the gadgets....when i make a test on the http://test.livegadgets.net/ platform, everythingh is ok with the size, the gadget is full screened showed. But when the gadget is approuved, and is loaded in my space for a real test, it sometimes sized ok, and sometimes cut so the height is truncated. In the js file, i've tried the real size in pixels and the relative size in 100%, but somethingh i miss i'm sure...... so, does that fonctiun clear the problem for the resizing of the gadget, and permit not to be truncated m_module.resize(); if (window.parent != window.self) { document.body.style.backgroundColor = "transparent"; } thankyou for helping me, but foo ...Show All
Windows Forms mshtml not returning results
I am working on creating a CCW, but am testing my code in a Visual Basic .NET 2005 with .NET 2.0 windows application. I am trying to get all of the href attributes from a web page. I have been looking around, and have found very helpful stuff that has gotten me to where I am, but now I am stuck. In my code I try to get the links from the links collection, and roll them out in a text box, but it is saying there are no links in the collection, but I know there is because if I use the webbrowser control it returns many of them (I can't use the webbrowser control in this circumstance though). Here is my code: [CODE] Imports mshtml Imports System.Runtime.InteropServices <ComVisible( True ), ComImport(), Guid( "7FD5 ...Show All
SQL Server Best practice for data dictionary in SQL Server 2005
Hi ,all here, Would please anyone here give me any guidance and advices for best practice of data dictionary in SQL Server 2005 I have restored a large insurance claims database with up to more than 300 tables, massively, most of them are empty tables, many of them dont have any keys, contrains, indexes, and more difficult, there is no any data dictionary for the database which gets me stuck in the understanding of the data at the moment. Thus I think data dictionary is very important for a database. Will anyone gives me advices for that Really need help. Thank you very much in advance for any help. With best regards, Yours sincerely, Here is a product that makes an internal web site where you browse the objec ...Show All
Game Technologies: DirectX, XNA, XACT, etc. all kinds of combination spec
When I create a tex2D as render target view with SampleDesc.count=4 and MipLevels=4 at the same time, directx reports Directx runtime error"an invalid parameter was passed into the returning function" . What is the problem Thank you. The error occurs during the texture creations because multi sampled textures with mip maps are not supported. You can have mip maps or multi sample but not both at the same time. I am only referring to the view creation because it shows it to. As a render target need to be a single mip map (or an array of mip maps from the same level) and you can’t select a mip slice for multi sample textures there would be no way to create your render target view even if multi sampled mip mapped ...Show All
Windows Forms datagridview .net 2.0
Hi, Basically this is the kind of thing I am doing to add an image column to dataGridview control in .net 2.0. It works fine first time during population. But if would like to re-populate, then the image column gets added again. So will end up with two image columns and so on... I think I need a way to remove this image column before population. DataGridViewImageColumn imageCol = new DataGridViewImageColumn(); imageCol.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; imageCol.ImageLayout = DataGridViewImageCellLayout.Normal; imageCol.Frozen = true; imageCol.Name = "Image"; imageCol.HeaderText = ""; dgvUsers.Columns.Add(imageCol); p.s dgvUsers is populated ...Show All
SQL Server Need some initial direction
Hi all. The company I work for is looking for a new SQL server. Where can I find information and or a tool for sizing information By sizing information I mean how big a pile of hardware am I going to need to run MS SQL for x number of connected users with x size database, etc. I've been tooling around the internet and MS' site but can't find any info on this. Can anyone shed some light for me To be honest it totally depends. The DB's I manage on my SQL box have about 50 users, the data is <20gig and im running the Dell PowerEdge750 Server with a Pentium4 HT Processor and it really does fly. By saying fly I mean its really quick, I have never had a problem with it. I cant comment on larger producti ...Show All
Windows Forms maximise mdi child form
VS 2005 this is my code: frm.MdiParent = this ; frm.WindowState = FormWindowState .Maximized; frm.Show(); but mdi child is not maximized. form border is set to non. Did someone new answer I think so, but it does not work correctly. I did the job, but I am not pleased. Thanks anyway. . ...Show All
Visual C# How to convert an Object in session to OdbcConnection?
How to convert an Object in session to OdbcConnection Thank you. the codes are here. OdbcCommand odbccmd2 = new OdbcCommand("select 查看 限 from 限信息 where 用 名='" + Session["UserName"] + "'", OdbcConnection(Session["dbcon"])); OdbcDataAdapter odbcadp2 = new OdbcDataAdapter(odbccmd2); DataSet ds2 = new DataSet(); In C# to cast an object to a type without doing any runtime checking (and hence throwing an exception if you are wrong) use the following syntax: ((OdbcConnection)Session["dbcon"]) To perform a safe cast that returns null if it is not correct then use this: OdbcConnection conn = Session["dbcon"] as OdbcConnection; N ...Show All
Community Chat My Creation, "The Door Game"
This is really my first actual program I made, it's pretty simple but amusing, the only this is I need to know how to get it to randomly choose between which message to display when a button is pressed then have the other button say the remaining choice, I also need it to show a specific image, depending on which message the random message generator chooses item the random message when a button is clicked, I keep getting the "Cannot implicitly convert type 'string' to 'System.Drawing.Image' " message, please help, the code is below if you want to mess around with it and let me know what you find. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using Sy ...Show All
Visual Studio How to attach reportviewer with multiple datasets?
Can anyone give me a detail example of how to implement it thanks ...Show All
SQL Server crossjoin problem?
i need to calculated the number of participants during a specific period for a give club. the member table contains the following info: member id, club id, starting date, ending date, etc. i have created four named calculations: starting year, starting month, ending year, ending month. starting year and starting month are part of the hierarchy starting period while ending year and ending month belong to the hierarchy ending period. i defined a basic measure: count and a calculated measure: numberofparticipants. the calculated measure is defined as: sum(crossjoin([starting period].currentmember.parent.firstsibling.firstchild:[starting period].currentmember, [ending period].currentmember:[ending period].currentmember.parent.lastsibling ...Show All
Visual Basic SQL Server Express Problem
Hey everyone, I have experience with tinkering with VB as a hobbyist going back to VB5 and I have been trying to get started with .Net, so I have been following along with the Beginner's Videos that you can access from the Start page of the Vb.NET 2005 Express edition. The problem I am running into is that, even by following along step-by-step with the video (video #9) concerning data-binding controls to SQL Server 2005 Express, the save button does not seem to save data back to the DB. I have tried this tutorial from scratch twice and have had the same problem both times. Has anyone else experienced this type of problem Any suggestions on how to resolve it The specific lines of code used that are intended to save data back to the DB ar ...Show All
SQL Server Execute SSIS package in a system without SQL server.
Hi all, Is it possible to execute a SSIS package in a system which doesn't have SQL server installed on it Note : The rights to use xmdshell is not given on the SQL server where the package resides. Any help would be appreciated. Thanks, DB Analyst Sorry , I too mentioned xp_cmdshell as xmdshell. Anyways , Jon - Can we still use the DTSExec utility if xp_cmdshell rights is not given to you ...Show All
Visual C++ Getting the position of a toolbar
I 've created a floating toolbar in the MainFrm class, and wish to have it 'stick' to its parent's position. -How do I get the position of this toolbar relative to its parent I've tried using: pBar->GetWindowRect(myrect); in CMainFrame::OnMove() but its not giving me the correct coordinates -What is the correct way of setting the position of my toolbar once I have the coordinates Currently I'm using FloatControlBar(pBar,point,CBRS_ALIGN_TOP); where point has the coordinates. Thanks for helping! you should see this Article for more Information. http://www.codeproject.com/docking/floatsetsize.asp ...Show All
SQL Server MSreplication_agent_status in sql server 2005
Is this table still residing in tempdb in 2005 I have created replication but the server doesn't have this table anymore ...Show All
