Type: Posts; User: Techno
Search took 0.05 seconds.
It has been a REALLY long time so I would appreciate guidance here.
I am using UDPClient to send and receive data.
I have a simple example working but its lifetime is only for 1 time where I...
believe me, ive googled and nothing came up.
I eventually solved it. There was a culprit of the DLL but an older version in C:\windows\system32. After unregistering it and deleting it from the...
I have an ASP.NET website I migrated/converted from classic asp to v4.0 There is a 3rd party DLL which is used and I need to register it using regsvr32.
Now all of this works just fine on my local...
true but the point here is this:
works fine in VB.NET but not in C#
Hi. im trying to convert this from VB6/classic ASP to C# but the result for some areas are different:
strPassword = LCase(strPassword)
For iIdx = 1 To Len(strPassword)
Cannot do that either as it breaks everything...and moves it out of the focusgroup, for the lack of a better word.
Believe me I've exhausted all the options with lots of trial and massive...
so this big project I have, I'm not able to really make it cleaner. Its VERY tightly coupled together.
There is a "coreframework" project which contains heavily type of subclasses and...
yeh. The problem with that though, is that the java webservice is being used to send and receive data from, which gets mapped to the objects in question which is causing this headache, and that...
This is a beast.
The solution I am working on is very tightly coupled. The WPF app uses a "Framework" (its own framework) project which includes its DAL (which is calling an external webservices,...
trying all that but so difficult :)
this is in test environment but the actual code is so lengthy and confusing. it just makes no sense and so many calls just to do something small at times....
lol yes. i am trying but so many loops and hoops to jump through, you get confused yourself very easily!
im just taking over a project and this is really extremely difficult to understand and explain.
This project has dependencies to one another in some way. I am trying to seperate it out in...
So I am involved in doing a MASSIVE conversion from classic asp with embedded SQL to ASP.NET, C# and SPROCS.
the code is massive and badly written as that is how things were done "back then" and...
indeed. I figured it out earlier and forgot to post!
so really, it is just MMddyy... wow... what a way to do it :)
unfortunately doing it in VB.NET does not quite work - compiler error:
Dim strCalDate As DateTime = Me.DateTimePicker1.Value
Dim strNoWOCalDate As String =...
yes indeed. I thought the code would work with VB.NET as well and compare it using that. just wanted to make sure I understood what was going on rather than comparing like for like.
strNoWOCalDate = string(2-len(month(cdate(strCalDate))), "0") & month(cdate(strCalDate)) & string(2-len(day(cdate(strCalDate))), "0") & day(cdate(strCalDate)) & right(year(cdate(strCalDate)),2) ...
please explain how with examples :)
just a custom plugin for my custom application.
so lets say if you made a VB6 app....
now you want to make a plugin for it where others can create their own thing and your app should be able to...
In VB6, is there a way you can create a custom plugin for your VB6 app using VB6 to create that plugin?
if so - how?
but I found another workaround for it. not the best though. Basically I appended a parameter into the SPROC which will spit out the SQL string it is generating, so then the client can...
First time I have seen this when filling a schema for a DataTable using the SqlDataAdapter.
I have a SPROC which internally creates a SQL String and uses sp_executesql to execute that SQL String....
Thanks. must be the lack of sleep i have had showing my errors.
my data from a simple hierachical tree does not have any circular references.
So how can I flatten the list?
so my MenuItem...
So I have a List<> of items.
each item has a list of other items (grandparent > parent > child > children etc...)
I want to now flatten the list so all the items are in just one list.
I guess no one...
anything similar in that case where I can take my currently correct hierachry list and bind that to the UI with styling and fly outs?
im trying to convert this into a repeater but finding it a little difficult trying to figure out how to seperate it and make it work.
Basically the original code is HTML, and I want to use that but...
yes I do. but what im saying is that this is how the DB TABLE structure is, and a DTO has been made from it.
The table structure is self referencing. ParentID is linked to MenuID
a Menu can have...
huh? It's there. I posted it :)
ok, so here is the code for the DB SQL Statement:
SELECT m.MenuID, m.MenuName, m.ParentID, m.URL
FROM Menus m
INNER JOIN UserMenus um ON
not sure I follow.
there is no way the DB end can do what I am wanting to do :) (And I cant touch the DB).
Sure, the MenuItems class can add a Collections property - done. But now what? how can I...
Sure, my apologies.
What I want to achieve is to have a collection of menu items and each menu item can have x level deep submenus.
The menu item is populated from the DB and mapped to the...
so let me clarify (still to test and alter your code):
we have a collection of MenuItems. Each item represents a parent menu and also a submenu.
Where the parentID is not null, that is how you...
thank you. I will give this a shot.
It isnt quite a MenuStrip or toolstrip collection as such but rather just a simple custom object (MenuItem I guess or another type of a collection of a custom...
So I have this schema in the DB:
ID (PK, int)
ParentID (nullable int)
I can select all records and thats great - populates an object for me with the above details (no SQL...
yes but what im getting at is what character could those be?
I want to be able to decrypt it into a readable format, then encrypt it again to make sure that the encrypted before and after are...
I don't know how it was created. All I know is that the way it was created was using the code that was posted in my original post :)
i meant in terms of an algorithm to use to store key information and not the entire bloated object in memory
hmm. ok on a few of them did not quite work. it gives me square type characters and not sure what the original string was.
Thanks. seems to work for the first handpicked set.
almost have it done another way too but reversing the for loop. Didn't think it was that simple but.. it was!
looking at some legacy code, this is trying to "encrypt" an input string. Not the best way:
for iIdx=1 to len(rawData)
Click Here to Expand Forum to Full Width
Survey posted by VBForums.