Answer Questions
flash.tato Publishing a windows application to a sharepoint website
Hi, First of all i do not know where i could go with this question so from my point of view the best forum was this one. My question is "Can I publish the windows application to a sharepoint portal website " I need to do that and when i try to publish it from vs2005 it just give me the message that the following files have been blocked by the administrator: setup.exe Any idea how to work around it Thanks ...Show All
Re2Porter MSI Custom Actions not working
I have a simple MSI file i made that has the framework as a prerequsite, then without any UI copies some files from a .cab file into a direcotry on the computer, then I have setup some custom actions to have it execute one of the files it extracted from the CAB, the idea is this program would handle the rest of the install because being a .NET app i have more control over how it looks but it won't run, the installer seems to have done everything else just fine though. By the time your custom action runs the installation is almost finished anyway, so it's too late to do anything significant like choose where some files get installed. You're also re-inventing the wheel to a certain extent, and the "rig ...Show All
Bruce Baker Process preview window
I am looking to create a preview window in a form that I have that will display a running process. It's much that same as the preview window when selecting a screensaver in Windows. Basically I want to have a preview button that will display the running process in a preview window on my form and then be able to adjust parameters and see the results of this on the process. Does anyone have any ideas on how to do this, just the getting the process to display in a preview window part. Thanks Hi one thing you could do is to use Performance Counters to get some data on the process http://msdn2.microsoft.com/en-us/library/system.diagnostics.performancecounter.aspx display that data in a screen.. Ho ...Show All
Chuck Miller Auto-register new type librarys
Hi, I have a VB6 project that contains a reference to a tlb from another .Net project that I have. The problem is that whenever I rebuild the .Net project the reference in the VB6 project becomes out-of-date and I have to re-enter it (i.e. when I open the project references window it says it's "MISSING"). Is there any way that the VB project reference will automatically update to pick up the new .tlb file which will always be in the same location I have tried using the GuidAttribute and the ProgId variables as follows: [GuidAttribute("586D4B1C-B368-4cb5-8377-D3B5A7420000")] [ClassInterfaceAttribute(ClassInterfaceType.AutoDual)] [ProgIdAttribute("Namespace_Class1")] public class ...Show All
Aleks Getting files Advanced properties.
Hi I am trying to get the audio file advanced summary information. which holds the information of the artist and album title, track no and other propery value. If someone know how to get these details please help me out. You see the properties by right click properties -> under summary Tab. and then click on the advanced mode. Thanks you Atheeque Theres a good example here http://www.codeproject.com/csharp/shellid3tagreader.asp on how to do this using shell functions. Alternatively you could research id3 tags (or whatever other tags it has) and how they are stored in the audio file and read them directly using the System.IO classes. Thank You Drader. Information provided by yo ...Show All
dangrmous SignTool error - Certificate is not valid for signing 0x80880253
We got this error the other day when trying to publish. After some searching I came across the Certificate for signing ClickOnce manifests. It has an expiration date of 10/06/2006. So we thought we could just create a new test certificate and then publish. This got us past the error but then the next day a user brought over a detail report. System.deployment.application.deploymentexception -the deployment identity does not match the subscription This is a VB 2005 app that gets publish to a network share so I don't know if I need all this signing security. But I eneded up having to set my machines clock back prior to Oct 6, roll back to a earlier version and then rebuilding the project and redeploying Otherwise I'd have to do a unisnt ...Show All
veep Connection string problem
every time i deploy my application on the client's system i hv to change the connection string accordingly, i am talking about my data application using sql server and vb.net, i m looking farward to find any way by which i would not hv to change the connection string every time. my application should find it self on the client's system. is there any way Yes this is the thing i have already implemented. yeah this thing is really helpfull but i m searching for something else , i don't want to leave it for the user to configure it using dialog. isn't there any way using system regsitery or any sort of administrative tools i can get the name of the server the client is connected to. and so the database name ...Show All
Jstn254473 Mouse Location Problem
Hello, I'm on a project, something like a mini-photoshop. I've done the basic stuff like opening the picture, drawing lines, using a pencil etc. well, I made a control that I see the position of the mouse with its X and Y coordinates as a MouseMove Event. But now I see that it just makes the program work really slow (I see its bad effect when I'm using a Pencil tool for drawing. It draws slower than it used to do when I didn't have the mouse coordinates as a mouse event.) Can you suggest something for this the code is: (visual c#) private void pictureBox1_MouseMove( object sender, MouseEventArgs e) { form1pcm.toolStripTextBox1.Text = e.X.ToString(); form1p ...Show All
erikkl2000 forms designer error, vb .net 2005
I am trying to follow the code in Taskvision 2.0. It compiles and runs, in VB .NET 2005. But if I use the designer (right-click on a specific form, MainForm), the designer crashes with a message: "The Name PriorityText is already in use by another component" PriorityText might be a datagrid, but I am really not sure I remember this kind of error happening in VB 2005 Beta programs when run under 2005. To fix it, I had to edit the designer.vb file and fix something,... but I can't remember what. Any help, please thx find in your designer.vb for "PriorityText " to check whether you have use it for more than one component maybe you can use find and mark all to help you find all priority te ...Show All
RayClark096 How can make one cells value changed with other cell value same time in DataGridView ?
In DataGridView control , there are more than 3 cell in a row, like int i = invoiceDetailsDataGridView.CurrentCell.RowIndex; DataGridViewRow row = invoiceDetailsDataGridView.Rows ; row.Cells .Value = Convert.ToInt32(row.Cells[3].Value) * Convert.ToDecimal(row.Cells[4].Value) - Convert.ToDecimal(row.Cells[5].Value); how can i make the Cell .value changed with the Cell[3].value changing same time i can make Cell .value changed by leave the current cell (Cell[3]) and click other cell of the DataGridView. I want all the values changed at same time with out exit the current editing. I searched many times in this forum, but didn't find any advice worked. I tried a lot events of DataGridView to make ...Show All
Kamen Setting the Value of Items in a ComboBox
If you manually fill a ComboBox ... Me .ComboBox3.Items.AddRange( New Object () { "Ticket Number" , "Ticket Date" , "Truck" , "Field" , "Inoculant" }) Is there a way to set the value for each item Jeremy Thanks everybody! will this also set the values of the combobox items Hmmm there's also a Hashtable object, it worked too. I included a link to some reference info out there. Dim myHash As New Hashtable While dr.Read myHash.Add( CType (dr(0), Integer ), dr(1)) End While myCombo.DisplayMember = "Value" myCombo.ValueMember = "Key" myCombo.DataSource = New BindingSource(myHash, Nothing ) ...Show All
nativecpp Click on a link programmatically using WebBrowser control
How can I click on a link using C# and DOM The page is loaded within my WebBrowser control. Thanks To crawl through all the links in a web page, you dont' need clicking on each link! You have the webBrowser1.Document object through which you can get all links in a page in many ways and then manipulate them as you like. For example: You can put the following code in the evnt handler of a crawl button or the Navigated event of a web browser control to get all links: HtmlElementCollection links = webBrowser1.Document.GetElementsByTagName( "a" ); foreach ( HtmlElement ele in links) { //Form3 is a form that contains a web browser control, an address combo box //a GO button and a "Crawl Links" ...Show All
usamaalam Question in ListView Operations
Hi Guys, I am new to Visual Studio 2005 Express and have a couple of questions regarding the ListView control: Suppose I have a ListView1 control that has two columns; Clumn1 and Column2 How do I add an item to each column separately Whenever I add item it is added to Column1 and I am unable to add an item to Column2 How do I read the items of each column one by one from beginning to end Thanks in advance. A. Shukri The method that you use to add an item returns the object corresponding to new entry. you can access the subitems[1 to numcolumns - 1] to set the values for each columns. You iterate using Items collection to scan all rows, and use the SubItems collection to scan all ...Show All
Ralf Kornmann datagrid view
i have a form with one datagrid view. And i inheritted the another form from that from. But in the inheritted form i cannot edit the datagrid view, all the roperties is looks readonly. So i changed the modifier to protectd friend ,public etc.. But its not working. But for other controls like list view and all i can edit in the inheritted form by just changing the modifier property . How can i edit the datagrid view i checked locked porperty is set to false i checked locked property is set to false i need to know we can modify the position in inheritted form But all the properties of datagrid view in the inheritted form are disabled. ...Show All
bk13 Setting the icon for a form
I created an icon, then clicked on the form, then went to the form's properties and set the Icon property to point to the icon file. What I want is the icon to show up in the title bar of the form, and show up on the taskbar when the form is minimized. But, this isn't working. I'm puzzled because I thought that was what the Icon property was for. Oh, the form's ShowIcon property is set to true. I'm using Visual Studio 2005 and working in C#. Hi, Ensure that the ControlBox property is set to true. Unless it is set to true, the ShowIcon property will not work. -Mamta I'm not sure what you're asking. The only thing I did was what I outlined in a previous p ...Show All
