Search:
Type: Posts; User: Dilvid
Search:
Search took 0.13 seconds.
-
yup,
HttpContext.Current.Session.Add("wdnadminlogin", txtUsername.Text.Trim());
brings back a NullReferenceException errorr. checked the HttpContext.Current.Session and it is null.
any...
-
Hey guys,
Got a little problem with my site. Created a site through a dll (Hence the pageFactoryHandler - making a CMS) and looking to use a session to store some of the logged in users data. The...
-
Hi there,
I am trying to load an image from a byte array which does sound pretty easy (I know how to do this bit) but it isnt... Basically I am trying to make a viewer for a for a file type for an...
-
Hi guys,
Just wondering if someone can help here, I asked a few people I know and also tried many ways myself aswell. Im trying to perform a property in C# which accepts an Index argument. I have...
-
Wouldn't this return the whole object? Im looking to return one element from it.
-
If Im honest I would prefer to use a List Collection as I think it would be best. I am re writing an old VB App in C# and seem to remember a reason why I didnt use a list as I have used it else where...
-
-
Hey Guys,
Looking to in a way initiate an array or add a new position in an array depending on how many positions are currently present. I know the VB.NET code for it but as I know Redim isn't...
-
You, Sir. Are what I call a legend!!
-
Hi Guys,
Making the jump from VB.Net to C# so trying to convert some old applications. Pure newbie question here now. I came across this problem deep within one of my apps while converting it but...
-
Hi Guys,
Have a strange problem at the moment on a page I am working on. Basicly there are 2 SQLDataSource Objects and 2 GridViews(I will call them GV1 and GV2 and DS1 and DS2 (GV = GridView and...
-
That is only called once. That just loads the options XML file and thats it. I found out what is was, for some reason the variable wasn't visible to a class to pass it on (even though I refered to...
-
HI Guys, I got a bit of a problem. I think I know what it is but can't spot where it is happening. My variable keeps disapearing!!!! I have a variable called _LicenseKey which is declared on the main...
-
Hi Guys,
Got a bit of of a strange one. Im writing a Web Service for one of my apps and I'm getting a weird error. I can't debug my code!!! Well on my main machine atleast. If I press F5 to run...
-
I know that would work but I would prefer to do it via my own webservice which will be hosted on my site. The user will allready be talking to the webservice for other aspects and Im after my...
-
Hi All,
I was wondering if anyone knew how to retreive a users IP from a webservice. I have a Vb.Net web service which a VB.Net application I am writing connects to. All works fine but I can't get...
-
Hi There,
Got a bit of a big problem in work with a new project. We need to restrict access to a server (b1) so that only one IP can access it. This box which is to restricted serves out a HTML...
-
-
Just check for the two buttons.
If MessageBox.Show("Do you want to save first?", "New", MessageBoxButtons.OKCancel) = Windows.Forms.DialogResult.OK Then
Using sd As New SaveFileDialog...
-
Hi All,
I got a strange one im trying to sort out. I have a class called clsPacket which writes to a byte array in various formats (string, int etc) and Im coming up against a strange problem....
-
Hi there,
SelectedRail is a left over (oops) from a previous chunk of code. Forgot to remove it so thank you for that. Also the RailNumber is declared at form level and Option Explicit is all ways...
-
Hi All,
I'll try and explain this as best I can. In my app I use a class to store various values and part of my app allows the user to edit them manually. As I want to be able to give the user an...
-
Thanks for this, found out how to do it rather easy from those links.
Code I used was-
If RecentScripts.Contains(Filename) = True Then
RecentScripts.Remove(Filename)
...
-
Hi all,
Just wondering if there is a better way to write the following code as it looks a little messy and I would hope MS has put something good in VS2005 to help with these things. Its basically...
-
Hey All,
Hey all, writing a web app in vb.net. Just wondering if there is a way to shared a class or variable (a large array really) amongst all users who are currently on the site.
I am making...
-
Thanks for the reply, I had fixed my problem about 10 mins after posting hehe. You were right though. Originally I was running my script in the same thread as in my main application. I assigned it to...
-
Hi Guys,
Im having a little bit of trouble with my app. I've made a script engine using the CodeDom Compiler, it all works fine and my scripts run etc but Im wanting to have the option to stop my...
-
Bah fixed it now, for some reason the System.Enviroment.CurrentDirectory changes half way through my app. Just declared it as a variable at the start now lol. Ahh well.
-
Hi guys,
Im writing an application which stores options and such to an XML file within the directory of my app. I have it writing the XML fine but it seems to be missing some data out for a...
-
Hey guys,
Having a little trouble getting my error highlighting to work. My idea was (since I have the line number) was to add up each line of text up to the new line (vbcrlf) until the line...
-
Hi guys, Im using the example code fromt he vb.net 101 samples package from MS and it works great. Im making a server - client setup and when the client sends some info across the server responds and...
-
Hi guys, just wondering if anyone know how to get a form (generated by vbcript from a vb6 app) to display buttons etc. Ive had a look on the forums and tried myself but I get an error :confused: ...
-
Hi Guys, I know you can do detect urls which is great and all but what im wondering is, is there a way to have a weblink within text which isnt like www.google.com but its just like google. Reason...
-
lo guys, im writing a little app which is basically recieves data from an app I havent made. The app i didnt make sends various bits of data out and even will send a screenshot out to any connected...
-
oops sorry lol, it is public in my code just I typed it wrong on this hehe. guess i should start copy and pasting :bigyello: Thanks for the help it works now!!
-
Lo all,
having a little trouble with a few get and set properties im trying to do, ther reason why is they are part of an array. I can do this is vb6 pretty easy but dont know how to do it in C#.
...
-
Hi all, Im trying to read some memory locations within my app. I know ive got to use the API ReadProcessMemory but kinda stuck on how to do it in vb.net. I got some example souce from a website which...
-
Hi all, just wondering if anyone knows how to get something simlair to the time chooser in outlook calender. Trying to make a small appointments book in vb.net any ideas???
-
Hi all, Couldnt find any information on this the other day when I was looking for it so I thought Id post how I done it.
'Write a byte array (in Unicode Big Endian) from a string
Public...
-
Sorted the problem now, I wasnt submiting the correct length of the packet when I was compressing the packet.
|
Click Here to Expand Forum to Full Width
|