Global 301 redirection from domain to www.domain
Hello, could i use the begin request of Global.asax to redirect everything, from mydomain.domain to www.mydomain.domain? If this one is true, how can i do that? ...
Hello, could i use the begin request of Global.asax to redirect everything, from mydomain.domain to www.mydomain.domain? If this one is true, how can i do that? ...
Hi I have an ASP.NET site in a web server and the images are stored in NAS (some kind of lacie external storage), I tried UNC and other things but no success. how can I access images from external storage in ASP.NET Thanks Update: The images are reachable from the server but when I try to access in ASP.NET throws me error. ...
For my VB.NET application, I'm using the windows installer that came with Visual Studio. I can successfully install and run my program on any computer in our office except for one. On this particular machine, my program will stall for about 30 seconds before being able to load the main form. When I start up the task manager, the CPU i...
i have a small 2 aspx page vb.net application. its has main.aspx with main.aspx.vb in back. first line on aspx reads - <%@ Page Language="VB" AutoEventWireup="false" codebehind="main.aspx.vb" Inherits="a1_main" %> first lines of main.aspx.vb read - Partial Public Class a1_main Inherits System.Web.UI....
C# 2 and VB.Net 8 introduced a new feature called iterators, which were designed to make it easier to return enumerables and enumerators. However, iterators are actually a limited form of coroutines, and can be used to do many useful things that have nothing to do with collections of objects. What non-standard uses of iterators have yo...
Hi Everyone, I'm working on a piece of code at the moment that allows the user to enter values into fields. Once the user clicks on the 'save' button I am checking those fields against certain conditions (essentially calling a bunch of stored procedures to assess the values). If any of these 'rules' are met, I need to generate a popup t...
Can Teradata tables be updated in an VB.NET application by reading an Excel spreadsheet and pulling certain values from certain columns? If so how? Thanks ...
I'm using .Net. Is it possible for a web form to upload an image from a web or FTP server? The files I need to submit are on the web. If this is possible, code snippet is appreciated. ...
If some body HElp me regarding the Issue... I have a Dynamic Fields comming from database.. These fields populated on RichTextBox after changing the color... Means Different Fields in Different Color. Plz Tell me the Way Out ...
Hai guys, In my form there is a AXVS Flex Grid and a textbox.Firstly the textbox will not visible. When the focus will be on a particular column of the flexgrid then the textbox will be visible and the flex will be disable.The position of the text box will be at the bottom of the particular row at the first time. But when another row is ...
There is String.Format function that is referred to in the documentation as the analog for Format function from VB6. There's also Format function from VisualBasic namespace that is provided for compatibility and basically has same powers as String.Format. Indeed, those two format dates and numbers. But VB6's function was also able to f...
how to get MyGeneration.dOOdads.dll Actually I produced code from Mygeneration utility and it requires this dll file. I find on many places but failed. ...
Hello all I have a vb.net solution and I want to add there a new dll files written in c# and use the functionality from the dll, in the code written in vb.net. I made several uses of it and it seems working all right, but is it a smart thing to do messing vb.net code with c# like I want to do . And what a dangers of what I am doing ?...
I want to get a value from 12 excel sheet. is there any way that i get the values without opening the excel sheet? I am using vb.net. Please post an example code, if there is a way to read values without opening the excel file. thanks ...
I have some common code that I would like to share between pages and I have been messing around with App_Code classes which is great but I would also like to use code that affects drop down lists example: Sub Set_FirmType(ByVal Sender As Object, ByVal E As EventArgs) subcategories.Visible = "false" supplycategories.Visible = "f...
I want split a gridview row on an html tag. How can i do this preferably in C#?? e.row.cells[1].Text.Split("htmltag") Thanks in advance ...
Hello! I'm about to start translating my vb.net application, and I don't want to use the default methods provided by Visual Studio to do so. I need my application to be very light, and it nearly doubles it size to use the resources option. Therefore, I'm planning to use some thing like a class, of which I would have one instance per la...
I'm writing a macro to automate the process of attaching to the IIS worker process (w3wp.exe, Windows Server 2k8) from Visual Studio. The trouble is that I often two app pools running at any given time, one in x64 mode and one in x86 mode. This means there are two processes called w3wp.exe running at any given time, and the only way to d...
I have the follow Linq query that is in a web application that was converted from .NET 1.1 to 3.5: dim objListOfFilteredDataRows = from datarows as datarow in objDataSet.tables(0).rows _ where datarows("SomeColumn") = SomeValue I have the exact same query in an application that was created using .NET 3....
Using vb.net. How I lock a specific cell in the DataGridView (not a complete column)? ...