I have created a custom Profile Provider that is integrated with the API of a CMS. It works fine when pulling data for an authenticated user (Profile.FirstName), but errors when creating a new user's profile.
Here is the section from web.config
<profile enabled="true" defaultProvider="CustomProfileProvider" inherits="objProfile">
<p...
Is there a built-in function in VB.NET which would take an array of strings and output a string of comma separated items?
Example: function( { "Sam","Jane","Bobby"} ) --> "Sam, Jane, Bobby"
...
in my web.config file when i put the following code for eliminating vulnerability, i get the following error.
Code -
Error - HTTP 500 Internal Server Error
What is the problem? why is this happening?
i have asp.net with IIS7.
...
I have been learning VB.NET since the summer and I was wondering if it makes sense for me to skip learning the things in VB.NET that I do not know and move on to C#.
I think I may be more comfy in C# because I have been using Actionscript 3 for over two years and have toyed with Java and C.
On the other hand, I've never done anything ...
Okay, so the title was horrible. I know that. Here's what I'm trying to do:
I have a lot of data that's coming from a database and being adding to a listbox. The data that's coming from the database is a unique ID, and a name.
Is there any way I can make the item contain both the ID and name? I know I can append it, that's not what I'...
hi techies,
i need to find the remote users ip address using asp.net and also i need clarification whether multiusers have same ip address
thanks
Shakthi
...
hi techies,
i am developing chat application using vb.net and asp.net where i am having a div tag inside which i am displaying the messages posted by the online users what my problem is when the messages are more and exceeds the height of the div tag then i am not comfortable to view the previous messages because i have set the scroll ...
I want to add CheckBox at DevExpress's xtraGrid columm so for this what should i do
...
Does anyone know what on earth this is? i can't get it to go away.
•model {"The generic type 'System.Web.Mvc.ViewUserControl`1' was used with the wrong number of generic arguments in assembly 'System.Web.Mvc...
it happens when i call a newly constructed model that i pass to a partial view, and try using/calling some methods of it in the...
I'm using Selenium RC + .Net Client Driver. I've created a Firefox profile in my c:\selenium\ directory. Here's my code:
Dim MySelenium As ISelenium = Nothing
MySelenium = New DefaultSelenium("localhost", 4444, "*custom C:/Program Files/Mozilla Firefox/firefox.exe -profile c:/selenium/", "http://www.google.com/")
When I run this, I ...
I am learning how to develop Windows Forms applications with Visual Basic Express 2008, and my testing/learning application has a TabControl with a few test pages (3, for example, the number isn't relevant here).
Now, I am handing the MouseClick event on the Tabcontrol, and I can't seem to be able to figure out how to get which tab was ...
What is the difference between the code bellow
' no Flags'
Public Enum MyEnum
Monday = 1
Tuesday = 2
Wednesday = 4
Thursday = 8
End Enum
and
<Flags()> _
Public Enum MyEnum
Monday = 1
Tuesday = 2
Wednesday = 4
Thursday = 8
End Enum
I do the
Dim days As MyEnum = MyEnum.Monday Or MyEnum.Tuesday Or MyEnum.Wednesday ...
I'm just a beginner at VB.NET...
I want to be able to insert a combobox control onto my form through code but I'm not sure how. Google doesn't seem to answer.
Something along the lines of (I have no idea)
Me.AddControl("Combobox")
I would obviously then need to set the properties to setup the position/size etc.
Thanks
...
I need to improve memory performance on my application and I could see that I have problems with memory fragmentation.
I've read an interesting article on large objects from Andrew Hunter of Red Gate, and one of the solutions he recommends is:
If large data structures need to live
for a long time, and especially if
they need to ...
Hello
This is a VB.Net newbie question. I'm confused at the different ways to declare and define variables.
Here's an example:
Dim URL As String = http://www.c-sharpcorner.com/default.asp
Dim request As HttpWebRequest = WebRequest.Create(URL)
Dim response As HttpWebResponse = request.GetResponse()
Dim reader As StreamReader = New Stre...
hi im itrying to debug javascript using vs2010
but i can't set breakpoints?
how can i do this? thanks
edit:
ive used your tips, debugger etc... thanks guys.
wow! i just noticed something, every time i try to call a function, no matter what function, in javascript, somehow jquery and ms ajax framework javascript captures it and checks ...
Im trying to create an application launcher using vb.net. I'm trying to launch desktop shortcuts that are hidden because I want my desktop to be free of mess. Those shortcuts are created through nircmd :http://www.nirsoft.net/utils/nircmd.html
I used this code:
System.Diagnostics.Process.Start("E:\Documents and Settings\Rew\Desktop\Spea...
How do i keep an animated gif running while my app is running a sub.
The whole UI is blocked so I've tried displaying it in another form but i get the same result.
...
I have a hashing method whose operations depend on input to the function. Profiling the program has shown that too much time is spent evaluating this hash method. I want to try changing it into an expression tree, so the inner loop checks can be done once. Hopefully it will be faster, but I'll learn about expression trees either way.
He...
I have done coding the AddNew Delete Update Refresh
This is my code
DataEnvironment1.rsSubject.Addnew
DataEnvironment1.rsSubject.Delete
etc.
Now I'm having a hard time filtering and finding records using Data.Environment1.rsSubject.Find or Filer. . .
Can anyone help??
...